Skip to content

Parser error when selecting from a symbolic term #12396

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
soronpo opened this issue May 10, 2021 · 0 comments · Fixed by #12399
Closed

Parser error when selecting from a symbolic term #12396

soronpo opened this issue May 10, 2021 · 0 comments · Fixed by #12399

Comments

@soronpo
Copy link
Contributor

soronpo commented May 10, 2021

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants