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

Side by Side Diff: test/kernel/regression/this_invoke.dart.txt

Issue 2080813003: Implement 'this' calls. (Closed) Base URL: git@github.com:dart-lang/rasta.git@constant_get
Patch Set: Created 4 years, 6 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
« no previous file with comments | « test/kernel/regression/this_invoke.dart ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 C extends core::Object { 5 class C extends core::Object {
6 constructor •() → self::C 6 constructor •() → self::C
7 : super core::Object::•(); 7 : super core::Object::•();
8 method test() → dynamic { 8 method m(dynamic x) → dynamic
9 self::use(invalid-expression); 9 return this.call(x);
10 } 10 method call(dynamic x) → dynamic
11 return 42;
11 } 12 }
12 static method use(dynamic _) → dynamic
13 return null;
14 static method main() → dynamic { 13 static method main() → dynamic {
15 new self::C::•().test(); 14 core::print(new self::C::•().m(42));
16 } 15 }
OLDNEW
« no previous file with comments | « test/kernel/regression/this_invoke.dart ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698