Files
sdk/pkg/front_end/testcases/patterns/final_variable_inside_case.dart.strong.modular.expect
Johnni Winther 4bf22f41f3 [cfe] Use sound null safety for outline and modular suites
Change-Id: Ideee9917b2e5b819672c7e441d051f9bc57c86c6
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/366342
Reviewed-by: Jens Johansen <jensj@google.com>
Commit-Queue: Johnni Winther <johnniwinther@google.com>
2024-05-15 08:27:25 +00:00

18 lines
277 B
Plaintext

library;
import self as self;
static method test(dynamic x) → dynamic {
#L1:
{
final synthesized dynamic #0#0 = x;
{
final hoisted dynamic y;
if(let final dynamic #t1 = y = #0#0 in true) {
{
break #L1;
}
}
}
}
}