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

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

Issue 255843005: Avoid generating VariableUse nodes with non-identifier names (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 6 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
Index: sdk/lib/_internal/compiler/implementation/js_emitter/reflection_data_parser.dart
diff --git a/sdk/lib/_internal/compiler/implementation/js_emitter/reflection_data_parser.dart b/sdk/lib/_internal/compiler/implementation/js_emitter/reflection_data_parser.dart
index 5509430c764786a6bd6e74a5bbc4716f3dc73677..a667a6a434ea00f37cf144d31d74782f95da9a21 100644
--- a/sdk/lib/_internal/compiler/implementation/js_emitter/reflection_data_parser.dart
+++ b/sdk/lib/_internal/compiler/implementation/js_emitter/reflection_data_parser.dart
@@ -24,6 +24,7 @@ jsAst.Expression getReflectionDataParser(String classesCollector,
String tearOffGlobalObjectName;
String tearOffGlobalObject;
if (closureFromTearOff != null) {
+ // TODO(sra): Replace with AST.
tearOffAccess = namer.isolateAccess(closureFromTearOff);
tearOffGlobalObjectName = tearOffGlobalObject =
namer.globalObjectFor(closureFromTearOff);

Powered by Google App Engine
This is Rietveld 408576698