Index: pkg/compiler/lib/src/resolution/type_resolver.dart |
diff --git a/pkg/compiler/lib/src/resolution/type_resolver.dart b/pkg/compiler/lib/src/resolution/type_resolver.dart |
index 85c21712785ba763339089eff4f8a7a2573fc606..2d7e51f586a3cf1dfaceb0b8c703fdcd0a8a0430 100644 |
--- a/pkg/compiler/lib/src/resolution/type_resolver.dart |
+++ b/pkg/compiler/lib/src/resolution/type_resolver.dart |
@@ -15,7 +15,6 @@ class TypeResolver { |
Scope scope, |
{bool deferredIsMalformed: true}) { |
Element element; |
- bool deferredTypeAnnotation = false; |
if (prefixName != null) { |
Element prefixElement = |
lookupInScope(compiler, prefixName, scope, prefixName.source); |
@@ -40,7 +39,6 @@ class TypeResolver { |
element = null; |
} |
} else { |
- String stringValue = typeName.source; |
element = lookupInScope(compiler, typeName, scope, typeName.source); |
} |
return element; |
@@ -178,8 +176,6 @@ class TypeResolver { |
} else if (element.isTypeVariable) { |
Element outer = |
visitor.enclosingElement.outermostEnclosingMemberOrTopLevel; |
- bool isInFactoryConstructor = |
- outer != null && outer.isFactoryConstructor; |
if (!outer.isClass && |
!outer.isTypedef && |
!Elements.hasAccessToTypeVariables(visitor.enclosingElement)) { |