Files
sdk/pkg/front_end/parser_testcases/patterns/patternVariableDeclarationStatement_disallowsLate.dart.parser.expect
T
Paul Berry ef4f5a3470 Add parser support for patternVariableDeclaration.
Bug: https://github.com/dart-lang/sdk/issues/50035
Change-Id: I13158547d9200f37eb4434d1792b4d4667a46071
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/270920
Reviewed-by: Jens Johansen <jensj@google.com>
Commit-Queue: Paul Berry <paulberry@google.com>
2022-11-21 18:33:05 +00:00

12 lines
445 B
Plaintext

NOTICE: Stream was rewritten by parser!
f(x) {
late var (*synthetic*;_;*synthetic*;) *synthetic*= x;
}
f[StringToken]([BeginToken]x[StringToken])[SimpleToken] {[BeginToken]
late[KeywordToken] var[KeywordToken] ([BeginToken][SyntheticStringToken];[SyntheticToken]_[StringToken];[SyntheticToken][SyntheticStringToken];[SyntheticToken])[SimpleToken] [SyntheticStringToken]=[SimpleToken] x[StringToken];[SimpleToken]
}[SimpleToken]
[SimpleToken]