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

Unified Diff: pkg/compiler/lib/src/js_backend/namer.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_backend/namer.dart
diff --git a/pkg/compiler/lib/src/js_backend/namer.dart b/pkg/compiler/lib/src/js_backend/namer.dart
index 9fd2c7c56702ce41c83c5844a7e68877e920e3db..44e90287d1527ef205800c490b743af186b307dc 100644
--- a/pkg/compiler/lib/src/js_backend/namer.dart
+++ b/pkg/compiler/lib/src/js_backend/namer.dart
@@ -16,6 +16,7 @@ import '../common_elements.dart' show CommonElements;
import '../diagnostics/invariant.dart' show DEBUG_MODE;
import '../elements/elements.dart';
import '../elements/entities.dart';
+import '../elements/entity_utils.dart' as utils;
import '../elements/names.dart';
import '../elements/resolution_types.dart';
import '../elements/types.dart';
@@ -1303,7 +1304,7 @@ class Namer {
} else {
// TODO(johnniwinther): Change factory name encoding as to not include
// the class-name twice.
- return '${className}_${Elements.reconstructConstructorName(element)}';
+ return '${className}_${utils.reconstructConstructorName(element)}';
}
}
« no previous file with comments | « pkg/compiler/lib/src/elements/entity_utils.dart ('k') | pkg/compiler/lib/src/js_emitter/code_emitter_task.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698