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

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

Issue 1093143004: 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/sunflower/sunflower.js ('k') | test/codegen/fields.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: test/codegen/expect/temps.js
diff --git a/test/codegen/expect/temps.js b/test/codegen/expect/temps.js
index 821b41bedc879dfb63be527e110105ff9120f612..a44a46bc24fbad4f51d71d6ec68545cea3a71e85 100644
--- a/test/codegen/expect/temps.js
+++ b/test/codegen/expect/temps.js
@@ -6,9 +6,9 @@ var temps;
let _function = Symbol('_function');
class FormalCollision extends core.Object {
FormalCollision(x, _x$, func) {
- this[_x] = x;
- this[__x] = _x$;
- this[_function] = func;
+ dart.initField(FormalCollision, this, _x, x);
+ dart.initField(FormalCollision, this, __x, _x$);
+ dart.initField(FormalCollision, this, _function, func);
}
}
// Function main: () → dynamic
« no previous file with comments | « test/codegen/expect/sunflower/sunflower.js ('k') | test/codegen/fields.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698