Index: pkg/front_end/testcases/inference/inferred_type_cascade.dart.direct.expect |
diff --git a/pkg/front_end/testcases/inference/inferred_type_cascade.dart.direct.expect b/pkg/front_end/testcases/inference/inferred_type_cascade.dart.direct.expect |
new file mode 100644 |
index 0000000000000000000000000000000000000000..7b343638e3d2efbd62f2f11cc99475c4d381b62e |
--- /dev/null |
+++ b/pkg/front_end/testcases/inference/inferred_type_cascade.dart.direct.expect |
@@ -0,0 +1,14 @@ |
+library test; |
+import self as self; |
+import "dart:core" as core; |
+ |
+class A extends core::Object { |
+ field core::int a = null; |
+ field core::List<core::int> b = null; |
+ default constructor •() → void |
+ : super core::Object::•() |
+ ; |
+ method m() → void {} |
+} |
+static field dynamic v = let final dynamic #t1 = new self::A::•() in let final dynamic #t2 = #t1.a = 1 in let final dynamic #t3 = #t1.b.add(2) in let final dynamic #t4 = #t1.m() in #t1; |
+static method main() → dynamic {} |