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 6a4ab3bfc9fa70b0afb59aacbe0ce1ed9f0393af..071b74b07083090049370a467e168ce2a040478d 100644 |
--- a/pkg/compiler/lib/src/resolution/constructors.dart |
+++ b/pkg/compiler/lib/src/resolution/constructors.dart |
@@ -613,7 +613,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. |
DartType type = resolver.resolveTypeAnnotation(node, |