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

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

Issue 2954063002: Small fixes to top level type inference. (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
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 self::B<core::int> b = null; 6 field self::B<core::int> b = null;
7 constructor •() → void 7 constructor •() → void
8 : super core::Object::•() 8 : super core::Object::•()
9 ; 9 ;
10 } 10 }
11 class B<T extends core::Object> extends core::Object { 11 class B<T extends core::Object> extends core::Object {
12 constructor •(self::B::T x) → void 12 constructor •(self::B::T x) → void
13 : super core::Object::•() 13 : super core::Object::•()
14 ; 14 ;
15 } 15 }
16 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; 16 static field core::List<self::B<core::int>> t3 = <self::B<core::int>>[new self:: B::•<core::int>(3)];
17 static field core::List<self::B<core::int>> t2 = <self::B<core::int>>[new self:: B::•<core::int>(2)];
18 static field core::List<self::B<dynamic>> t3 = <self::B<dynamic>>[new self::B::• <dynamic>(3)];
19 static method main() → dynamic {} 17 static method main() → dynamic {}
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698