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

Unified Diff: pkg/compiler/lib/src/js_emitter/full_emitter/class_emitter.dart

Issue 2700053003: Don't use magic strings/properties to communicate between compiler and runtime. (Closed)
Patch Set: Small cleanup. Created 3 years, 10 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
Index: pkg/compiler/lib/src/js_emitter/full_emitter/class_emitter.dart
diff --git a/pkg/compiler/lib/src/js_emitter/full_emitter/class_emitter.dart b/pkg/compiler/lib/src/js_emitter/full_emitter/class_emitter.dart
index 3762f7293b86d3e30c8ff6b36bae9b12b21690fa..2be2636a5899c8d12d15cc140e0d6ed4b3c386e6 100644
--- a/pkg/compiler/lib/src/js_emitter/full_emitter/class_emitter.dart
+++ b/pkg/compiler/lib/src/js_emitter/full_emitter/class_emitter.dart
@@ -57,7 +57,7 @@ class ClassEmitter extends CodeEmitterHelper {
emitConstructorsForCSP(cls);
emitFields(cls, builder);
if (cls.hasRtiField) {
- builder.addField(namer.rtiFieldName);
+ builder.addField(namer.rtiFieldJsName);
}
emitCheckedClassSetters(cls, builder);
emitClassGettersSettersForCSP(cls, builder);

Powered by Google App Engine
This is Rietveld 408576698