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

Side by Side Diff: pkg/front_end/testcases/covariant_generic.dart.outline.expect

Issue 2908453002: Infer the types of initializing formals from the corresponding fields. (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; 1 library;
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 typedef Callback = <T extends core::Object>(T) → void; 5 typedef Callback = <T extends core::Object>(T) → void;
6 class Foo<T extends core::Object> extends core::Object { 6 class Foo<T extends core::Object> extends core::Object {
7 final field self::Foo::T finalField; 7 final field self::Foo::T finalField;
8 final field (self::Foo::T) → void callbackField; 8 final field (self::Foo::T) → void callbackField;
9 field self::Foo::T mutableField; 9 field self::Foo::T mutableField;
10 field (self::Foo::T) → void mutableCallbackField; 10 field (self::Foo::T) → void mutableCallbackField;
11 constructor •(dynamic finalField, dynamic callbackField) → void 11 constructor •(self::Foo::T finalField, (self::Foo::T) → void callbackField) → void
12 ; 12 ;
13 method method(self::Foo::T x) → void 13 method method(self::Foo::T x) → void
14 ; 14 ;
15 set setter(self::Foo::T x) → dynamic 15 set setter(self::Foo::T x) → dynamic
16 ; 16 ;
17 method withCallback((self::Foo::T) → void callback) → void 17 method withCallback((self::Foo::T) → void callback) → void
18 ; 18 ;
19 } 19 }
20 static method main() → dynamic 20 static method main() → dynamic
21 ; 21 ;
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698