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

Unified Diff: lib/runtime/dart/_foreign_helper.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 | « no previous file | lib/runtime/dart/_internal.js » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: lib/runtime/dart/_foreign_helper.js
diff --git a/lib/runtime/dart/_foreign_helper.js b/lib/runtime/dart/_foreign_helper.js
index e92813ee44df324c452cabe4474a9a3993dc6659..046cb6ab0a71495ef0b4f685aee0c31158f35e90 100644
--- a/lib/runtime/dart/_foreign_helper.js
+++ b/lib/runtime/dart/_foreign_helper.js
@@ -113,7 +113,7 @@ var _foreign_helper;
}
class JS_CONST extends core.Object {
JS_CONST(code) {
- this.code = code;
+ dart.initField(JS_CONST, this, 'code', code);
}
}
// Function JS_STRING_CONCAT: (String, String) → String
« no previous file with comments | « no previous file | lib/runtime/dart/_internal.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698