| Index: pkg/compiler/lib/src/parser/parser.dart
|
| diff --git a/pkg/compiler/lib/src/parser/parser.dart b/pkg/compiler/lib/src/parser/parser.dart
|
| index 8d6f5802c9c24f8a7be62b8c122532b3e4f7bd35..e39ce38880ec486d5f01855e84ad4b03ef66b33c 100644
|
| --- a/pkg/compiler/lib/src/parser/parser.dart
|
| +++ b/pkg/compiler/lib/src/parser/parser.dart
|
| @@ -577,7 +577,7 @@ class Parser {
|
| /// Returns token after match if [token] matches identifier ('.' identifier)?,
|
| /// and otherwise returns null. Does not produce listener events.
|
| Token tryParseQualified(Token token) {
|
| - if (!identical(token.kind, IDENTIFIER_TOKEN)) return null;
|
| + if (!isValidTypeReference(token)) return null;
|
| token = token.next;
|
| if (!identical(token.kind, PERIOD_TOKEN)) return token;
|
| token = token.next;
|
|
|