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

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

Issue 2919623002: Implement type inference for PropertySet. (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
Index: pkg/front_end/testcases/inference/downwards_inference_inside_top_level.dart.strong.expect
diff --git a/pkg/front_end/testcases/inference/downwards_inference_inside_top_level.dart.strong.expect b/pkg/front_end/testcases/inference/downwards_inference_inside_top_level.dart.strong.expect
new file mode 100644
index 0000000000000000000000000000000000000000..448b85cbcfd87078f1236c1f3386197b46dc9134
--- /dev/null
+++ b/pkg/front_end/testcases/inference/downwards_inference_inside_top_level.dart.strong.expect
@@ -0,0 +1,19 @@
+library test;
+import self as self;
+import "dart:core" as core;
+
+class A extends core::Object {
+ field self::B<core::int> b = null;
+ constructor •() → void
+ : super core::Object::•()
+ ;
+}
+class B<T extends core::Object> extends core::Object {
+ constructor •(self::B::T x) → void
+ : super core::Object::•()
+ ;
+}
+static field self::A t1 = let final self::A #t1 = new self::A::•() in let final dynamic #t2 = #t1.{self::A::b} = new self::B::•<core::int>(1) in #t1;
+static field core::List<self::B<core::int>> t2 = <self::B<core::int>>[new self::B::•<core::int>(2)];
+static field core::List<self::B<dynamic>> t3 = <self::B<dynamic>>[new self::B::•<dynamic>(3)];
+static method main() → dynamic {}

Powered by Google App Engine
This is Rietveld 408576698