87f0d5d9dc
Although these error conditions are not reported by the parser, the language grammar does not permit them, so from a customer perspective they are parser errors. Accordingly, they have been assigned ParserErrorCodes and reported by the AstBuilder, as we do for other similar errors. Change-Id: I79d0ad1dcad518981b8b649c117df326279008f7 Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/157800 Commit-Queue: Paul Berry <paulberry@google.com> Reviewed-by: Konstantin Shcheglov <scheglov@google.com> Reviewed-by: Brian Wilkerson <brianwilkerson@google.com>