Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1229)

Unified Diff: pkg/front_end/testcases/inference/propagate_inference_transitively2.dart.strong.expect

Issue 2883533002: Update expectations files to get more strong mode inference tests to pass. (Closed)
Patch Set: Created 3 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « pkg/front_end/testcases/inference/propagate_inference_transitively.dart.strong.expect ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: pkg/front_end/testcases/inference/propagate_inference_transitively2.dart.strong.expect
diff --git a/pkg/front_end/testcases/inference/propagate_inference_transitively2.dart.strong.expect b/pkg/front_end/testcases/inference/propagate_inference_transitively2.dart.strong.expect
new file mode 100644
index 0000000000000000000000000000000000000000..37266d842b25a4f616b4ca14572d2d50fbfec727
--- /dev/null
+++ b/pkg/front_end/testcases/inference/propagate_inference_transitively2.dart.strong.expect
@@ -0,0 +1,34 @@
+library test;
+import self as self;
+import "dart:core" as core;
+
+class A extends core::Object {
+ field core::int x = 42;
+ constructor •() → void
+ : super core::Object::•()
+ ;
+}
+class B extends core::Object {
+ field self::A a = new self::A::•();
+ constructor •() → void
+ : super core::Object::•()
+ ;
+}
+class C extends core::Object {
+ field self::B b = new self::B::•();
+ constructor •() → void
+ : super core::Object::•()
+ ;
+}
+class D extends core::Object {
+ field self::C c = new self::C::•();
+ constructor •() → void
+ : super core::Object::•()
+ ;
+}
+static method main() → void {
+ self::D d1 = new self::D::•();
+ core::print(d1.c.b.a.x);
+ self::D d2 = new self::D::•();
+ core::print(d2.c.b.a.x);
+}
« no previous file with comments | « pkg/front_end/testcases/inference/propagate_inference_transitively.dart.strong.expect ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698