Index: pkg/front_end/testcases/inference/infer_assign_to_static_upwards.dart.direct.expect |
diff --git a/pkg/front_end/testcases/inference/infer_assign_to_static_upwards.dart.direct.expect b/pkg/front_end/testcases/inference/infer_assign_to_static_upwards.dart.direct.expect |
index 7cf33f1cd4b2acab593299c7828be7aedf73107a..1dd802ffb9e2159853bdaa23c204e839b049d610 100644 |
--- a/pkg/front_end/testcases/inference/infer_assign_to_static_upwards.dart.direct.expect |
+++ b/pkg/front_end/testcases/inference/infer_assign_to_static_upwards.dart.direct.expect |
@@ -14,8 +14,8 @@ static method getDouble() → core::double |
static method test1() → void { |
dynamic v1 = self::topLevelInt = self::getInt(); |
dynamic v2 = self::topLevelInt = self::getNum(); |
- dynamic v4 = let final dynamic #t1 = self::topLevelInt in #t1.==(null) ? self::topLevelInt = self::getInt() : #t1; |
- dynamic v5 = let final dynamic #t2 = self::topLevelInt in #t2.==(null) ? self::topLevelInt = self::getNum() : #t2; |
+ dynamic v4 = let final dynamic #t1 = self::topLevelInt in #t1.==(null) ?{dynamic} self::topLevelInt = self::getInt() : #t1; |
+ dynamic v5 = let final dynamic #t2 = self::topLevelInt in #t2.==(null) ?{dynamic} self::topLevelInt = self::getNum() : #t2; |
dynamic v7 = self::topLevelInt = self::topLevelInt.+(self::getInt()); |
dynamic v8 = self::topLevelInt = self::topLevelInt.+(self::getNum()); |
dynamic v10 = self::topLevelInt = self::topLevelInt.+(1); |
@@ -25,9 +25,9 @@ static method test2() → void { |
dynamic v1 = self::topLevelNum = self::getInt(); |
dynamic v2 = self::topLevelNum = self::getNum(); |
dynamic v3 = self::topLevelNum = self::getDouble(); |
- dynamic v4 = let final dynamic #t5 = self::topLevelNum in #t5.==(null) ? self::topLevelNum = self::getInt() : #t5; |
- dynamic v5 = let final dynamic #t6 = self::topLevelNum in #t6.==(null) ? self::topLevelNum = self::getNum() : #t6; |
- dynamic v6 = let final dynamic #t7 = self::topLevelNum in #t7.==(null) ? self::topLevelNum = self::getDouble() : #t7; |
+ dynamic v4 = let final dynamic #t5 = self::topLevelNum in #t5.==(null) ?{dynamic} self::topLevelNum = self::getInt() : #t5; |
+ dynamic v5 = let final dynamic #t6 = self::topLevelNum in #t6.==(null) ?{dynamic} self::topLevelNum = self::getNum() : #t6; |
+ dynamic v6 = let final dynamic #t7 = self::topLevelNum in #t7.==(null) ?{dynamic} self::topLevelNum = self::getDouble() : #t7; |
dynamic v7 = self::topLevelNum = self::topLevelNum.+(self::getInt()); |
dynamic v8 = self::topLevelNum = self::topLevelNum.+(self::getNum()); |
dynamic v9 = self::topLevelNum = self::topLevelNum.+(self::getDouble()); |
@@ -37,8 +37,8 @@ static method test2() → void { |
static method test3() → void { |
dynamic v2 = self::topLevelDouble = self::getNum(); |
dynamic v3 = self::topLevelDouble = self::getDouble(); |
- dynamic v5 = let final dynamic #t10 = self::topLevelDouble in #t10.==(null) ? self::topLevelDouble = self::getNum() : #t10; |
- dynamic v6 = let final dynamic #t11 = self::topLevelDouble in #t11.==(null) ? self::topLevelDouble = self::getDouble() : #t11; |
+ dynamic v5 = let final dynamic #t10 = self::topLevelDouble in #t10.==(null) ?{dynamic} self::topLevelDouble = self::getNum() : #t10; |
+ dynamic v6 = let final dynamic #t11 = self::topLevelDouble in #t11.==(null) ?{dynamic} self::topLevelDouble = self::getDouble() : #t11; |
dynamic v7 = self::topLevelDouble = self::topLevelDouble.+(self::getInt()); |
dynamic v8 = self::topLevelDouble = self::topLevelDouble.+(self::getNum()); |
dynamic v9 = self::topLevelDouble = self::topLevelDouble.+(self::getDouble()); |