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

Side by Side Diff: pkg/front_end/test/fasta/rasta/generic_factory.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
5 class C1 extends core::Object {
6 constructor •() → void
7 : super core::Object::•()
8 ;
9 }
10 class C2 extends core::Object {
11 constructor •() → void
12 : super core::Object::•()
13 ;
14 }
15 class C3 extends core::Object {
16 constructor •() → void
17 : super core::Object::•()
18 ;
19 }
20 class A<T extends core::Object> extends core::Object {
21 constructor internal() → void
22 : super core::Object::•()
23 ;
24 static factory a<T extends core::Object>() → self::A<self::A::a::T>
25 invalid-statement;
26 static factory b<T extends core::Object>() → self::A<self::A::b::T>
27 invalid-statement;
28 static factory c<T extends core::Object>() → self::A<self::A::c::T>
29 throw "Missing constructor: Missing";
30 }
31 class B<S extends core::Object> extends self::A<self::B::S> {
32 constructor internal() → void
33 : super self::A::internal()
34 ;
35 static factory a<S extends core::Object>() → self::B<self::B::a::S>
36 invalid-statement;
37 static factory b<S extends core::Object>() → self::B<self::B::b::S>
38 invalid-statement;
39 }
40 class C<U extends core::Object> extends self::B<self::C::U> {
41 constructor •() → void
42 : super self::B::internal()
43 ;
44 }
45 static method main() → dynamic {
46 new self::C::•<self::C3>();
47 new self::C::•<self::C1>();
48 new self::C::•<self::C3>();
49 new self::C::•<self::C2>();
50 self::A::c<self::C3>();
51 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698