Skip to content

Assignment statements don't work in REPL #1426

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
cswinter opened this issue Jul 29, 2016 · 0 comments
Closed

Assignment statements don't work in REPL #1426

cswinter opened this issue Jul 29, 2016 · 0 comments
Assignees

Comments

@cswinter
Copy link
Contributor

scala> var a = 0 
a: Int = 0
scala> a = 1 
<console>:6: error: not found: Ident
val synthvar$0 = Ident(a);
                 ^
odersky added a commit to dotty-staging/dotty that referenced this issue Jul 31, 2016
We accidentally used `toString` instead of `show`.

Fixes scala#1426.
@odersky odersky self-assigned this Jul 31, 2016
smarter added a commit that referenced this issue Aug 1, 2016
Fix #1426: Fix varable printing in REPL
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants