Index: pkg/front_end/lib/src/fasta/parser/parser.dart |
diff --git a/pkg/front_end/lib/src/fasta/parser/parser.dart b/pkg/front_end/lib/src/fasta/parser/parser.dart |
index 1eda2a6d2be3129b4d48e726f090f6e5f2672d16..61d741736f90a986b8357baf92a8c2f4c87753c3 100644 |
--- a/pkg/front_end/lib/src/fasta/parser/parser.dart |
+++ b/pkg/front_end/lib/src/fasta/parser/parser.dart |
@@ -1954,6 +1954,8 @@ class Parser { |
period = token; |
token = parseIdentifier(token.next, |
IdentifierContext.constructorReferenceContinuationAfterTypeArguments); |
+ } else { |
+ listener.handleNoConstructorReferenceContinuationAfterTypeArguments(token); |
} |
listener.endConstructorReference(start, period, token); |
return token; |