[ANTLR] Import prefixed Function
types are not described by the grammar.
#54218
Labels
area-language
Dart language related items (some items might be better tracked at github.com/dart-lang/language).
language-spec-parser
Consider:
Which results in the following parse trees:
The analyzer accepts that program without errors, but ANTLR does not.
It looks like the
FUNCTION
production of thetypeNotVoidNotFunction
production rule needs to accept an optional leadingtypeIdentifer '.'
:sdk/tools/spec_parser/Dart.g
Lines 1442 to 1445 in 80ad968
The text was updated successfully, but these errors were encountered: