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 0ecb90e72c657c596f63348e894a278328cdf7ee..2ef33ba22b62de97c94d6ad4049db392b1cd4ac0 100644 |
--- a/pkg/compiler/lib/src/js_backend/namer.dart |
+++ b/pkg/compiler/lib/src/js_backend/namer.dart |
@@ -21,8 +21,7 @@ import '../elements/elements.dart' |
Elements, |
FieldElement, |
MemberElement, |
- MixinApplicationElement, |
- TypedefElement; |
+ MixinApplicationElement; |
import '../elements/entities.dart'; |
import '../elements/entity_utils.dart' as utils; |
import '../elements/jumps.dart'; |
@@ -1532,7 +1531,7 @@ class Namer { |
} |
String globalObjectForType(Entity element) { |
- if (element is TypedefElement) { |
+ if (element is TypedefEntity) { |
return globalObjectForLibrary(element.library); |
} |
return globalObjectForClass(element); |