4b7d256a06
This reverts commite9ca6a5335andd3e00fd35e. Change-Id: I346d6156be19c4fceffa202a7ce9bfa931c7c14b Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/99560 Reviewed-by: Sigmund Cherem <sigmund@google.com> Reviewed-by: Vijay Menon <vsm@google.com> Reviewed-by: Siva Annamalai <asiva@google.com>
23 lines
336 B
Plaintext
23 lines
336 B
Plaintext
library test;
|
|
import self as self;
|
|
import "dart:core" as core;
|
|
|
|
static method test(core::int x, () → void f) → void {
|
|
#L1:
|
|
switch(x) {
|
|
#L2:
|
|
case 0:
|
|
{
|
|
f.call();
|
|
continue #L3;
|
|
}
|
|
#L3:
|
|
case 1:
|
|
{
|
|
f.call();
|
|
break #L1;
|
|
}
|
|
}
|
|
}
|
|
static method main() → dynamic {}
|