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 b00dba296a7eb726b420b9376ebb8baeac3cb49a..bf3286ba1d53bef4c84224aef2efab7b83b97810 100644 |
--- a/pkg/front_end/lib/src/fasta/parser/parser.dart |
+++ b/pkg/front_end/lib/src/fasta/parser/parser.dart |
@@ -901,6 +901,7 @@ class Parser { |
Token parseTypeVariable(Token token) { |
listener.beginTypeVariable(token); |
+ token = parseMetadataStar(token); |
token = parseIdentifier(token, IdentifierContext.typeVariableDeclaration); |
Token extendsOrSuper = null; |
if (optional('extends', token) || optional('super', token)) { |