Index: pkg/compiler/lib/src/resolution/constructors.dart |
diff --git a/pkg/compiler/lib/src/resolution/constructors.dart b/pkg/compiler/lib/src/resolution/constructors.dart |
index 90964c872c6d3f916a571306d9810ccc8e906fbe..740cdcbb497e54eac49cdd4bf9cfa3bde8649ac7 100644 |
--- a/pkg/compiler/lib/src/resolution/constructors.dart |
+++ b/pkg/compiler/lib/src/resolution/constructors.dart |
@@ -618,7 +618,7 @@ class ConstructorResolver extends CommonResolverVisitor<ConstructorResult> { |
return result; |
} |
- ConstructorResult visitTypeAnnotation(TypeAnnotation node) { |
+ ConstructorResult visitNominalTypeAnnotation(NominalTypeAnnotation node) { |
// This is not really resolving a type-annotation, but the name of the |
// constructor. Therefore we allow deferred types. |
ResolutionDartType type = resolver.resolveTypeAnnotation(node, |