Navigation Menu

Skip to content
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

REPL Interpretation problems with + & - variable names. Similar others fine. #9640

Closed
scabug opened this issue Feb 2, 2016 · 1 comment
Closed

Comments

@scabug
Copy link

scabug commented Feb 2, 2016

example with + but - also breaks.

scala> val `+` : Int = 0
+: Int = 0

scala> `+` * 6 
<console>:1: error: ';' expected but integer literal found.
       `+` * 6 
             ^
scala> val `*` : Int = 0
*: Int = 0

scala> `*` * 6
res1: Int = 0
@scabug
Copy link
Author

scabug commented Feb 2, 2016

Imported From: https://issues.scala-lang.org/browse/SI-9640?orig=1
Reporter: Salomon Smeke (ssmeke)
Affected Versions: 2.10.5
Duplicates #8918

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

No branches or pull requests

1 participant