Skip to content

trivial wrong(old) comment #6856

@scabug

Description

@scabug

https://github.com/scala/scala/blob/cbac99417f58e66f257af33951f5c3341d7221a6/src/compiler/scala/tools/nsc/ast/parser/Parsers.scala#L1474

By spec(2.9), correct PrefixExpr is

bq. PrefixExpr ::= [‘-’ | ‘+’ | ‘~’ | ‘!’] SimpleExpr

'&' was added by below commit
scala/scala@fde7c4c

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions