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

Unified Diff: pkg/compiler/lib/src/closure.dart

Issue 2908153003: It's alive! (Closed)
Patch Set: Created 3 years, 7 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 | pkg/compiler/lib/src/common_elements.dart » ('j') | pkg/compiler/lib/src/common_elements.dart » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: pkg/compiler/lib/src/closure.dart
diff --git a/pkg/compiler/lib/src/closure.dart b/pkg/compiler/lib/src/closure.dart
index f7a0af62c9a1992e5d94f3c2630e72c066970a9e..4b79d9fb0d49010c455fb08e803c5036384e57ab 100644
--- a/pkg/compiler/lib/src/closure.dart
+++ b/pkg/compiler/lib/src/closure.dart
@@ -1064,8 +1064,8 @@ class ClosureTranslator extends Visitor {
if (enclosingElement.isGenerativeConstructor ||
enclosingElement.isGenerativeConstructorBody ||
enclosingElement.isFactoryConstructor) {
- parts = parts
- .prepend(Elements.reconstructConstructorName(enclosingElement));
+ ConstructorElement constructor = enclosingElement;
+ parts = parts.prepend(Elements.reconstructConstructorName(constructor));
} else {
String surroundingName =
Elements.operatorNameToIdentifier(enclosingElement.name);
« no previous file with comments | « no previous file | pkg/compiler/lib/src/common_elements.dart » ('j') | pkg/compiler/lib/src/common_elements.dart » ('J')

Powered by Google App Engine
This is Rietveld 408576698