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

Side by Side Diff: pkg/front_end/test/fasta/rasta/issue_000002.dart.outline.expect

Issue 2662703002: Update rasta outline expectations. (Closed)
Patch Set: Rebased on 0401b897958de33f8481b9cb323eab53106a3ce9. Created 3 years, 10 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 import "package:expect/expect.dart" as exp;
5 import "dart:typed_data" as typ;
6 4
7 class Foo extends core::Object { 5 class Foo extends core::Object {
8 final field dynamic value; 6 final field dynamic value;
9 constructor •(dynamic value) → dynamic 7 constructor •(dynamic value) → void
10 : self::Foo::value = value, super core::Object::•() {} 8 ;
11 static factory fac(dynamic value) → self::Foo { 9 static factory fac(dynamic value) → self::Foo
12 return new self::Foo::•(value); 10 ;
13 }
14 } 11 }
15 static field dynamic list = <dynamic>[1, 2, 3]; 12 static field dynamic list;
16 static method main() → dynamic { 13 static method main() → dynamic
17 exp::Expect::isTrue(typ::Uint8List::fromList(self::list).[](1).==(2)); 14 ;
18 exp::Expect::isTrue(self::Foo::fac(10).value.==(10));
19 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698