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

Unified Diff: pkg/compiler/lib/src/js_emitter/runtime_type_generator.dart

Issue 2700053003: Don't use magic strings/properties to communicate between compiler and runtime. (Closed)
Patch Set: 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/runtime_type_generator.dart
diff --git a/pkg/compiler/lib/src/js_emitter/runtime_type_generator.dart b/pkg/compiler/lib/src/js_emitter/runtime_type_generator.dart
index 6d4066e14875fd93b59a43ebffeee3d8902f3340..a80b3a42340d1cffadc03c505abb0c4161f4005d 100644
--- a/pkg/compiler/lib/src/js_emitter/runtime_type_generator.dart
+++ b/pkg/compiler/lib/src/js_emitter/runtime_type_generator.dart
@@ -354,7 +354,7 @@ class RuntimeTypeGenerator {
Substitution substitution =
backend.rti.getSubstitution(cls, element.typeDeclaration);
- jsAst.Name rtiFieldName = backend.namer.rtiFieldName;
+ jsAst.Name rtiFieldName = backend.namer.rtiFieldJsName;
if (substitution != null) {
computeTypeVariable = js(r'#.apply(null, this.#)', [
backend.rtiEncoder.getSubstitutionCodeForVariable(substitution, index),

Powered by Google App Engine
This is Rietveld 408576698