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

Unified Diff: test/codegen/expect/names.js

Issue 1042943003: fixes private named constructors (Closed) Base URL: git@github.com:dart-lang/dev_compiler.git@master
Patch Set: Created 5 years, 9 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/codegen/expect/constructors.js ('k') | test/codegen/expect/server_mode/html_input.html » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: test/codegen/expect/names.js
diff --git a/test/codegen/expect/names.js b/test/codegen/expect/names.js
index 812a0885c40d5bc8a1f6043b79d630b22f799049..ca5ef650410cf6be42f3bf6008bd7ca95ae9d48c 100644
--- a/test/codegen/expect/names.js
+++ b/test/codegen/expect/names.js
@@ -13,7 +13,7 @@ var names;
return 456;
}
class Frame extends core.Object {
- Frame$caller(arguments$) {
+ ['caller*'](arguments$) {
this.arguments = arguments$;
}
static ['callee*']() {
@@ -26,7 +26,7 @@ var names;
core.print(exports.exports);
core.print(new Foo()._foo());
core.print(_foo());
- core.print(new Frame.caller(new core.List.from([1, 2, 3])));
+ core.print(new Frame['caller*'](new core.List.from([1, 2, 3])));
let eval$ = Frame['callee*'];
core.print(eval$);
}
« no previous file with comments | « test/codegen/expect/constructors.js ('k') | test/codegen/expect/server_mode/html_input.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698