5d44b804cd
This changes the lowering of switch expressions and pattern switch statements without continue to only use if-then-else Change-Id: I3bcbb634ec3153a117c4bd6692a276c1c26e648d Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/279964 Commit-Queue: Johnni Winther <johnniwinther@google.com> Reviewed-by: Chloe Stefantsova <cstefantsova@google.com>
11 lines
200 B
Plaintext
11 lines
200 B
Plaintext
library /*isNonNullableByDefault*/;
|
|
import self as self;
|
|
import "dart:core" as core;
|
|
|
|
static method f(dynamic x) → dynamic
|
|
return block {
|
|
core::int #t1;
|
|
if(true)
|
|
#t1 = 0;
|
|
} =>#t1;
|