f7052cfbbc
This CL avoids the infinite loop created by allowing the parser to parse it as a complex type (despite no actual name after it) and adds a few asserts in an attempt to catch rewriting on eof (setting a token after eof). Fixes #42229 Fixes #44477 Change-Id: Ie2da0957894067a3d4748cb6384bc9d6cf32c215 Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/150521 Commit-Queue: Jens Johansen <jensj@google.com> Reviewed-by: Brian Wilkerson <brianwilkerson@google.com> Reviewed-by: Johnni Winther <johnniwinther@google.com>
4 lines
107 B
Plaintext
4 lines
107 B
Plaintext
Future<List<>>
|
|
|
|
Future[StringToken]<[BeginToken]List[StringToken]<[BeginToken]>>[SimpleToken][SimpleToken]
|