c1bb19d002
Cleans up some missing promoted variable gets and temporary variables that were incorrectly marked as final. Change-Id: I26412efe2dbb45b807ad6aba7f67c27981b1619c Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/279011 Reviewed-by: Jens Johansen <jensj@google.com> Commit-Queue: Johnni Winther <johnniwinther@google.com>
25 lines
843 B
Plaintext
25 lines
843 B
Plaintext
library /*isNonNullableByDefault*/;
|
|
import self as self;
|
|
import "dart:core" as core;
|
|
import "dart:_internal" as _in;
|
|
|
|
static const field core::int annotation = #C1;
|
|
static method f(dynamic x) → dynamic {
|
|
final dynamic #t1 = x;
|
|
core::bool #t2 = true;
|
|
dynamic #t3;
|
|
final dynamic #t4 = #t1;
|
|
if(#t4 is{ForNonNullableByDefault} core::Map<dynamic, dynamic> && #t4{core::Map<dynamic, dynamic>}.{core::Map::containsKey}("a"){(core::Object?) → core::bool} && #t4{core::Map<dynamic, dynamic>}.{core::Map::length}{core::int} =={core::num::==}{(core::Object) → core::bool} 1) {
|
|
final dynamic #t5 = #t4{core::Map<dynamic, dynamic>}.{core::Map::[]}("a"){(core::Object?) → dynamic};
|
|
#t3 = #t5;
|
|
#t2 = false;
|
|
}
|
|
if(#t2)
|
|
throw new _in::ReachabilityError::•();
|
|
final dynamic a = #t3{dynamic};
|
|
}
|
|
|
|
constants {
|
|
#C1 = 0
|
|
}
|