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 c718f8f9d85ca787d125118586405149a9ec0e3a..0ecb90e72c657c596f63348e894a278328cdf7ee 100644 |
--- a/pkg/compiler/lib/src/js_backend/namer.dart |
+++ b/pkg/compiler/lib/src/js_backend/namer.dart |
@@ -21,7 +21,6 @@ import '../elements/elements.dart' |
Elements, |
FieldElement, |
MemberElement, |
- TypeDeclarationElement, |
MixinApplicationElement, |
TypedefElement; |
import '../elements/entities.dart'; |
@@ -907,7 +906,7 @@ class Namer { |
/// |
/// Should be used together with [globalObjectForType], which denotes the |
/// object on which the returned property name should be used. |
- jsAst.Name globalPropertyNameForType(TypeDeclarationElement element) => |
+ jsAst.Name globalPropertyNameForType(Entity element) => |
_disambiguateGlobalType(element); |
/** |