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

Unified Diff: test/kernel/regression/this_invoke.dart

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 | « lib/kernel_visitor.dart ('k') | test/kernel/regression/this_invoke.dart.txt » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: test/kernel/regression/this_invoke.dart
diff --git a/test/kernel/regression/issue_000008.dart b/test/kernel/regression/this_invoke.dart
similarity index 80%
copy from test/kernel/regression/issue_000008.dart
copy to test/kernel/regression/this_invoke.dart
index b9f1f6e480aefc2eb0cbaf399221abf9426bcb71..42b95f74af6e36f75b8b5311ba69d2b676d5a068 100644
--- a/test/kernel/regression/issue_000008.dart
+++ b/test/kernel/regression/this_invoke.dart
@@ -3,10 +3,10 @@
// BSD-style license that can be found in the LICENSE.md file.
class C {
- final x;
- C(this.x);
+ m(x) => this(x);
+ call(x) => 42;
}
main() {
- new C(42);
+ print(new C().m(42));
}
« no previous file with comments | « lib/kernel_visitor.dart ('k') | test/kernel/regression/this_invoke.dart.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698