dart-sdk/tools/spec_parser
Erik Ernst 5cebb0f980 Adjust Dart.g such that an extension can not have the name type
The declaration `extension type on(int i,) {}` is ambiguous: It can
be an extension named `type` or an extension type named `on`. This
CL adjusts the specification grammar Dart.g such that it is
disambiguated in favor of being an extension type.
See https://github.com/dart-lang/language/issues/3258 for details.

Change-Id: I74f800a75c6c5061675c345c546a85cff046d27f
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/332243
Reviewed-by: William Hesse <whesse@google.com>
Commit-Queue: Erik Ernst <eernst@google.com>
2023-10-27 16:21:41 +00:00
..
.gitignore Update spec_parser. 2019-10-25 08:57:44 +00:00
Dart.g Adjust Dart.g such that an extension can not have the name type 2023-10-27 16:21:41 +00:00
Makefile Added pattern grammar rules 2022-10-31 15:39:35 +00:00
OWNERS [spec_parser] Add OWNERS 2022-11-30 14:01:10 +00:00
spec_parse.dart [repo] improve the analysis of the tools/ directory 2022-02-17 19:09:52 +00:00
SpecParser.java Adjust spec parser to use exit code 0 when parsing no files 2022-08-01 23:29:44 +00:00
SpecParserRunner.java