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

Side by Side Diff: pkg/front_end/testcases/rasta/enum.dart.dartk.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 extends core::Object { 5 class Foo extends core::Object {
6 final field core::int index; 6 final field core::int index;
7 static const field core::List<self::Foo> values = const <self::Foo>[self::Foo: :ec1, self::Foo::ec2]; 7 static const field core::List<self::Foo> values = const <self::Foo>[self::Foo: :ec1, self::Foo::ec2];
8 static const field self::Foo ec1 = const self::Foo::•(0); 8 static const field self::Foo ec1 = const self::Foo::•(0);
9 static const field self::Foo ec2 = const self::Foo::•(1); 9 static const field self::Foo ec2 = const self::Foo::•(1);
10 const constructor •(core::int index) → void 10 const constructor •(core::int index) → void
11 : self::Foo::index = index, super core::Object::•() 11 : self::Foo::index = index, super core::Object::•()
12 ; 12 ;
13 method toString() → core::String 13 method toString() → core::String
14 return const <core::int, core::String>{0: "Foo.ec1", 1: "Foo.ec2"}.[](this.{ =self::Foo::index}); 14 return const <core::int, core::String>{0: "Foo.ec1", 1: "Foo.ec2"}.[](this.{ =self::Foo::index});
15 } 15 }
16 static method main() → dynamic {} 16 static method main() → dynamic {}
OLDNEW
« no previous file with comments | « pkg/front_end/testcases/rasta/enum.dart ('k') | pkg/front_end/testcases/rasta/enum.dart.direct.expect » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698