Kotlin / kotlin-spec

Kotlin Language Specification:
https://kotlinlang.org/spec
Apache License 2.0
387 stars 80 forks source link

Grammar: annotations in valueArgument #84

Open belyaev-mikhail opened 3 years ago

belyaev-mikhail commented 3 years ago

Current valueArgument non-terminal does not allow for multiple annotations:

valueArgument:
    [annotation]
    {NL}
    [simpleIdentifier {NL} '=' {NL}]
    ['*']
    {NL}
    expression