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

Side by Side Diff: pkg/front_end/testcases/inference_new/infer_assign_to_ref.dart.strong.expect

Issue 2935323002: Lift nearly all top-level type inference restrictions. (Closed)
Patch Set: Created 3 years, 6 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 unified diff | Download patch
« no previous file with comments | « pkg/front_end/testcases/inference_new/infer_assign_to_ref.dart.outline.expect ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 library test; 1 library test;
2 import self as self; 2 import self as self;
3 import "dart:core" as core; 3 import "dart:core" as core;
4 4
5 class A extends core::Object { 5 class A extends core::Object {
6 field core::int f = null; 6 field core::int f = null;
7 constructor •() → void 7 constructor •() → void
8 : super core::Object::•() 8 : super core::Object::•()
9 ; 9 ;
10 } 10 }
11 static field self::A a = new self::A::•(); 11 static field self::A a = new self::A::•();
12 static field dynamic b = self::a.{self::A::f} = 1; 12 static field dynamic b = self::a.{self::A::f} = 1;
13 static field core::int c = 0; 13 static field core::int c = 0;
14 static field dynamic d = self::c = 1; 14 static field core::int d = self::c = 1;
15 static method main() → dynamic { 15 static method main() → dynamic {
16 self::a; 16 self::a;
17 self::b; 17 self::b;
18 self::c; 18 self::c;
19 self::d; 19 self::d;
20 } 20 }
OLDNEW
« no previous file with comments | « pkg/front_end/testcases/inference_new/infer_assign_to_ref.dart.outline.expect ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698