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

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

Issue 2825063002: Move kernel baseline tests to front_end. (Closed)
Patch Set: Created 3 years, 8 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 class Foo<T extends core::Object> extends core::Object { 5 class Foo<T extends core::Object> extends core::Object {
6 final field self::Foo::T finalField; 6 final field self::Foo::T finalField;
7 final field (self::Foo::T) → void callbackField; 7 final field (self::Foo::T) → void callbackField;
8 field self::Foo::T mutableField = null; 8 field self::Foo::T mutableField = null;
9 field (self::Foo::T) → void mutableCallbackField = null; 9 field (self::Foo::T) → void mutableCallbackField = null;
10 constructor •(self::Foo::T finalField, (self::Foo::T) → void callbackField) → void 10 constructor •(self::Foo::T finalField, (self::Foo::T) → void callbackField) → void
(...skipping 18 matching lines...) Expand all
29 fooNum.method(2.5); 29 fooNum.method(2.5);
30 fooNum.setter = 3; 30 fooNum.setter = 3;
31 fooNum.setter = 2.5; 31 fooNum.setter = 2.5;
32 fooNum.withCallback((core::num x) → dynamic {}); 32 fooNum.withCallback((core::num x) → dynamic {});
33 fooNum.mutableField = 3; 33 fooNum.mutableField = 3;
34 fooNum.mutableField = 2.5; 34 fooNum.mutableField = 2.5;
35 fooNum.mutableCallbackField(3); 35 fooNum.mutableCallbackField(3);
36 fooNum.mutableCallbackField(2.5); 36 fooNum.mutableCallbackField(2.5);
37 fooNum.mutableCallbackField = (core::num x) → dynamic {}; 37 fooNum.mutableCallbackField = (core::num x) → dynamic {};
38 } 38 }
OLDNEW
« no previous file with comments | « pkg/front_end/testcases/covariant_generic.dart ('k') | pkg/front_end/testcases/covariant_generic.dart.outline.expect » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698