Skip to content

Parser error when selecting from a symbolic term #12396

Closed
@soronpo

Description

@soronpo

Compiler version

v3.0.0-RC3

Minimized code

object + {
  val x = 1
}

object Check {
  val y = +.x  
}

Output

expression expected but '.' found

Expectation

Should work like in Scala 2. Adding backticks around + does not help.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions