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

Unified Diff: sdk/lib/_internal/compiler/implementation/js_emitter/type_test_emitter.dart

Issue 76223002: Fix http://code.google.com/p/dart/issues/detail?id=15017. (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 7 years, 1 month 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: sdk/lib/_internal/compiler/implementation/js_emitter/type_test_emitter.dart
===================================================================
--- sdk/lib/_internal/compiler/implementation/js_emitter/type_test_emitter.dart (revision 30390)
+++ sdk/lib/_internal/compiler/implementation/js_emitter/type_test_emitter.dart (working copy)
@@ -68,8 +68,7 @@
Element thisElement =
closureData.freeVariableMapping[closureData.thisElement];
if (thisElement != null) {
- assert(thisElement.hasFixedBackendName());
- String thisName = thisElement.fixedBackendName();
+ String thisName = namer.instanceFieldPropertyName(thisElement);
thisAccess = js('this')[js.string(thisName)];
}
}
« no previous file with comments | « sdk/lib/_internal/compiler/implementation/closure.dart ('k') | tests/language/minify_closure_variable_collision_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698