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

Unified 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « test/kernel/regression/this_invoke.dart ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: test/kernel/regression/this_invoke.dart.txt
diff --git a/test/kernel/regression/issue_000041.dart.txt b/test/kernel/regression/this_invoke.dart.txt
similarity index 55%
copy from test/kernel/regression/issue_000041.dart.txt
copy to test/kernel/regression/this_invoke.dart.txt
index 9a674a0fe3c09e3614439176a49406069971625e..a605b59496e179d13f741520931986668a50754a 100644
--- a/test/kernel/regression/issue_000041.dart.txt
+++ b/test/kernel/regression/this_invoke.dart.txt
@@ -5,12 +5,11 @@ import "dart:core" as core;
class C extends core::Object {
constructor •() → self::C
: super core::Object::•();
- method test() → dynamic {
- self::use(invalid-expression);
- }
+ method m(dynamic x) → dynamic
+ return this.call(x);
+ method call(dynamic x) → dynamic
+ return 42;
}
-static method use(dynamic _) → dynamic
- return null;
static method main() → dynamic {
- new self::C::•().test();
+ core::print(new self::C::•().m(42));
}
« 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