6d2e6f9452
Addresses https://github.com/dart-lang/sdk/issues/51554#issuecomment-1466946211 Closes #51391 TEST=existing Change-Id: Idec105dcfde4a91d0a21a1907777d6c07e5f01b2 Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/289224 Commit-Queue: Johnni Winther <johnniwinther@google.com> Reviewed-by: Chloe Stefantsova <cstefantsova@google.com> Reviewed-by: Alexander Markov <alexmarkov@google.com>
25 lines
441 B
Plaintext
25 lines
441 B
Plaintext
library /*isNonNullableByDefault*/;
|
|
import self as self;
|
|
import "dart:core" as core;
|
|
|
|
static method f(dynamic x) → dynamic
|
|
return block {
|
|
core::int #t1;
|
|
final synthesized dynamic #0#0 = x;
|
|
#L1:
|
|
{
|
|
{
|
|
if(#0#0 is{ForNonNullableByDefault} core::int) {
|
|
#t1 = 0;
|
|
break #L1;
|
|
}
|
|
}
|
|
{
|
|
if(true) {
|
|
#t1 = 1;
|
|
break #L1;
|
|
}
|
|
}
|
|
}
|
|
} =>#t1;
|