Index: pkg/compiler/lib/src/js_backend/backend.dart |
diff --git a/pkg/compiler/lib/src/js_backend/backend.dart b/pkg/compiler/lib/src/js_backend/backend.dart |
index 811096b1c8c3555b1044be11b568b4606a5acd15..aa8909f5127879fef2cef1312e7a621355a5738c 100644 |
--- a/pkg/compiler/lib/src/js_backend/backend.dart |
+++ b/pkg/compiler/lib/src/js_backend/backend.dart |
@@ -2817,9 +2817,6 @@ class JavaScriptImpactTransformer extends ImpactTransformer { |
break; |
case TypeUseKind.TYPE_LITERAL: |
backend.customElementsAnalysis.registerTypeLiteral(type); |
- if (type.isTypedef) { |
- backend.compiler.openWorld.registerTypedef(type.element); |
- } |
if (type.isTypeVariable && type is! MethodTypeVariableType) { |
// GENERIC_METHODS: The `is!` test above filters away method type |
// variables, because they have the value `dynamic` with the |