Index: pkg/front_end/testcases/inference/infer_statics_transitively2.dart.direct.expect |
diff --git a/pkg/front_end/testcases/inference/infer_statics_transitively2.dart.direct.expect b/pkg/front_end/testcases/inference/infer_statics_transitively2.dart.direct.expect |
new file mode 100644 |
index 0000000000000000000000000000000000000000..7ebf828b32118da04bdf158a362a68ff90991e37 |
--- /dev/null |
+++ b/pkg/front_end/testcases/inference/infer_statics_transitively2.dart.direct.expect |
@@ -0,0 +1,16 @@ |
+library test; |
+import self as self; |
+import "dart:core" as core; |
+ |
+static const field dynamic x1 = 1; |
+static final field dynamic x2 = 1; |
+static final field dynamic y1 = self::x1; |
+static final field dynamic y2 = self::x2; |
+static method foo() → dynamic { |
+ core::int i; |
+ i = self::y1; |
+ i = self::y2; |
+} |
+static method main() → dynamic { |
+ self::foo(); |
+} |