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

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

Issue 2862223002: Rewrite mixin application handling in Fasta. (Closed)
Patch Set: Update status file. Created 3 years, 7 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 Base extends core::Object { 5 class Base extends core::Object {
6 constructor •() → void 6 constructor •() → void
7 : super core::Object::•() 7 : super core::Object::•()
8 ; 8 ;
9 } 9 }
10 class Mixin extends core::Object { 10 class Mixin extends core::Object {
11 constructor •() → void 11 constructor •() → void
12 : super core::Object::•() 12 : super core::Object::•()
13 ; 13 ;
14 method foo() → dynamic 14 method foo() → dynamic
15 return core::print("foo"); 15 return core::print("foo");
16 } 16 }
17 class Sub extends self::Base&Mixin {
18 constructor •() → void
19 : super self::Base&Mixin::•()
20 ;
21 }
22 abstract class Base&Mixin extends self::Base implements self::Mixin { 17 abstract class Base&Mixin extends self::Base implements self::Mixin {
23 constructor •() → void 18 constructor •() → void
24 : super self::Base::•() 19 : super self::Base::•()
25 ; 20 ;
26 method foo() → dynamic 21 method foo() → dynamic
27 return core::print("foo"); 22 return core::print("foo");
28 } 23 }
24 class Sub extends self::Base&Mixin {
25 constructor •() → void
26 : super self::Base&Mixin::•()
27 ;
28 }
29 static method main() → dynamic { 29 static method main() → dynamic {
30 new self::Sub::•().foo(); 30 new self::Sub::•().foo();
31 } 31 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698