b7debf00f7
This supports pattern listener events in the BodyBuilder without crashing. Currently no AST is created and only dummy objects are put on the stack. Change-Id: I24a29073b578bb9aaa07e84d5177e51428074a94 Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/262422 Reviewed-by: Chloe Stefantsova <cstefantsova@google.com> Commit-Queue: Johnni Winther <johnniwinther@google.com>
18 lines
216 B
Plaintext
18 lines
216 B
Plaintext
library /*isNonNullableByDefault*/;
|
|
import self as self;
|
|
|
|
static method test(dynamic x) → dynamic {
|
|
#L1:
|
|
switch(x) {
|
|
#L2:
|
|
case #C1:
|
|
{
|
|
break #L1;
|
|
}
|
|
}
|
|
}
|
|
|
|
constants {
|
|
#C1 = null
|
|
}
|