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

Side by Side Diff: pkg/front_end/test/fasta/rasta/issue_000070.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
(Empty)
1 library;
2 import self as self;
3 import "dart:core" as core;
4 import "package:expect/expect.dart" as exp;
5
6 class A<N extends core::Object, S extends core::Object, U extends core::Object> extends core::Object {
7 final field core::List<self::A::U> field;
8 constructor •(self::A::N n, self::A::S s) → void
9 : self::A::field = core::List::_internal<self::A::U>(core::_GROWABLE_ARRAY_M ARKER), super core::Object::•() {
10 exp::Expect::isTrue(n is self::A::N, null);
11 exp::Expect::isTrue(s is self::A::S, null);
12 }
13 constructor empty() → void
14 : self::A::field = null, super core::Object::•() {}
15 const constructor c(self::A::U u, self::A::S s) → void
16 : self::A::field = const <dynamic>[null], super core::Object::•()
17 ;
18 static factory f<N extends core::Object, S extends core::Object, U extends cor e::Object>(self::A::f::S s) → self::A<self::A::f::N, self::A::f::S, self::A::f:: U> {
19 exp::Expect::isTrue(s is self::A::f::S, null);
20 return new self::A::empty<dynamic, dynamic, dynamic>();
21 }
22 get getter() → core::List<self::A::U> {
23 return this.field;
24 }
25 set setter(self::A::S s) → void {}
26 }
27 abstract class J<Aa extends core::Object, B extends core::Object> extends core:: Object {
28 constructor •() → void
29 : super core::Object::•()
30 ;
31 }
32 abstract class I<H extends core::Object, C extends core::Object, K extends core: :Object> extends self::J<self::I::C, self::I::K> {
33 constructor •() → void
34 : super self::J::•()
35 ;
36 }
37 static method main() → dynamic {
38 new self::A::•<core::num, core::double, core::List<dynamic>>(1, 2.0);
39 self::A<dynamic, dynamic, dynamic> a = self::A::f<core::int, core::int, core:: int>(1);
40 const self::A::c<core::int, core::int, core::List<dynamic>>(const <dynamic>[], 1);
41 dynamic z = a.getter;
42 a.setter = 1;
43 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698