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

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

Issue 2918543003: Handle static invocation (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/elements/elements.dart » ('j') | no next file with comments »
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 c459c1cb1c37260be577e38202e82e261933426d..e19c69c27acebcdbd395159f8c37bd0dcb5e8c09 100644
--- a/pkg/compiler/lib/src/closure.dart
+++ b/pkg/compiler/lib/src/closure.dart
@@ -13,6 +13,7 @@ import 'constants/expressions.dart';
import 'elements/resolution_types.dart';
import 'elements/elements.dart';
import 'elements/entities.dart';
+import 'elements/entity_utils.dart' as utils;
import 'elements/modelx.dart'
show BaseFunctionElementX, ClassElementX, ElementX;
import 'elements/visitor.dart' show ElementVisitor;
@@ -1070,7 +1071,7 @@ class ClosureTranslator extends Visitor {
enclosingElement.isGenerativeConstructorBody ||
enclosingElement.isFactoryConstructor) {
ConstructorElement constructor = enclosingElement;
- parts = parts.prepend(Elements.reconstructConstructorName(constructor));
+ parts = parts.prepend(utils.reconstructConstructorName(constructor));
} else {
String surroundingName =
Elements.operatorNameToIdentifier(enclosingElement.name);
« no previous file with comments | « no previous file | pkg/compiler/lib/src/elements/elements.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698