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

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

Issue 1090313002: fixes #52, fields shadowing getters/setters or other fields (Closed) Base URL: git@github.com:dart-lang/dev_compiler.git@master
Patch Set: Created 5 years, 8 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/methods.js ('k') | test/codegen/expect/opassign.js » ('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 548fd7ec2dc82f2792cb5e9a2baaf23573c00cee..dde823d6c4f54fcb6d84a22c4eef719ff4c6424d 100644
--- a/test/codegen/expect/names.js
+++ b/test/codegen/expect/names.js
@@ -12,9 +12,13 @@ var names;
function _foo() {
return 456;
}
+ let arguments$ = Symbol('arguments');
class Frame extends core.Object {
- ['caller*'](arguments$) {
- this.arguments = arguments$;
+ get arguments() {
+ return this[arguments$];
+ }
+ ['caller*'](arguments$0) {
+ this[arguments$] = arguments$0;
}
static ['callee*']() {
return null;
« no previous file with comments | « test/codegen/expect/methods.js ('k') | test/codegen/expect/opassign.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698