Files
sdk/pkg/front_end/testcases/patterns/switchExpression_onePattern_trailingComma.dart.textual_outline.expect
T
Johnni Winther 915173dc59 [cfe] Pass enablePatterns to textualOutline
This add support for patterns in textual outline by requiring callers
to pass an 'enablePatterns' flags. For incremental compilation this is
derive from the previously built library. For the textual outline suite
this is derived from the experimental flags.

Change-Id: Iebf420162c83808e2d0e2acb6e7fc147fec5c617
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/320520
Reviewed-by: Jens Johansen <jensj@google.com>
Commit-Queue: Johnni Winther <johnniwinther@google.com>
2023-08-14 10:42:03 +00:00

4 lines
42 B
Plaintext

f(x) => switch (x) {
_ => 0,
};