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

Side by Side Diff: pkg/front_end/testcases/inference_new/dependency_only_if_generic_method.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 constructor •() → void 6 constructor •() → void
7 : super core::Object::•() 7 : super core::Object::•()
8 ; 8 ;
9 method f<T extends core::Object>(self::A::f::T t) → self::A::f::T 9 method f<T extends core::Object>(self::A::f::T t) → self::A::f::T
10 return t; 10 return t;
11 method g(dynamic i) → core::int 11 method g(dynamic i) → core::int
12 return 0; 12 return 0;
13 } 13 }
14 static field self::A a = new self::A::•(); 14 static field self::A a = new self::A::•();
15 static field () → dynamic b = () → () → dynamic => self::a.{self::A::f}<() → dyn amic>(self::c); 15 static field dynamic b = () → dynamic => self::a.{self::A::f}<dynamic>(self::c);
16 static field () → dynamic c = () → () → dynamic => self::a.{self::A::f}<() → dyn amic>(self::b); 16 static field dynamic c = () → dynamic => self::a.{self::A::f}<dynamic>(self::b);
17 static field () → dynamic d = () → () → core::int => self::a.{self::A::f}<() → c ore::int>(self::e); 17 static field () → () → core::int d = () → () → core::int => self::a.{self::A::f} <() → core::int>(self::e);
18 static field () → core::int e = () → core::int => self::a.{self::A::g}(self::d); 18 static field () → core::int e = () → core::int => self::a.{self::A::g}(self::d);
19 static method main() → dynamic {} 19 static method main() → dynamic {}
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698