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

Unified Diff: pkg/compiler/lib/src/js_emitter/full_emitter/emitter.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
Index: pkg/compiler/lib/src/js_emitter/full_emitter/emitter.dart
diff --git a/pkg/compiler/lib/src/js_emitter/full_emitter/emitter.dart b/pkg/compiler/lib/src/js_emitter/full_emitter/emitter.dart
index c714fdff3bd5ce76921ceba1706597f6598e5a38..ee49e446ad3c3a656549e5c3f87b48efa4577844 100644
--- a/pkg/compiler/lib/src/js_emitter/full_emitter/emitter.dart
+++ b/pkg/compiler/lib/src/js_emitter/full_emitter/emitter.dart
@@ -22,13 +22,13 @@ import '../../elements/elements.dart'
show
ClassElement,
Element,
- Elements,
FieldElement,
FunctionSignature,
LibraryElement,
MethodElement,
TypedefElement;
import '../../elements/entities.dart';
+import '../../elements/entity_utils.dart' as utils;
import '../../hash/sha1.dart' show Hasher;
import '../../io/code_output.dart';
import '../../io/location_provider.dart' show LocationCollector;
@@ -481,7 +481,7 @@ class Emitter extends js_emitter.EmitterBase {
MethodElement function = elementOrSelector;
if (function.isConstructor) {
isConstructor = true;
- name = Elements.reconstructConstructorName(function);
+ name = utils.reconstructConstructorName(function);
}
FunctionSignature signature = function.functionSignature;
positionalParameterCount = signature.requiredParameterCount;
« no previous file with comments | « pkg/compiler/lib/src/js_emitter/full_emitter/container_builder.dart ('k') | pkg/compiler/lib/src/kernel/element_map_impl.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698