We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
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
taken from: http://scalapuzzlers.com/#pzzlr-017
class C val x1,x2 = new C val y1@y2 = new C println(x1 == x2) println(y1 == y2)
This code works in dotc, but does not work in repl:
scala> val x1,x2 = new C scala> val y1@y2 = new C scala> println(x1 == x2) ^ println(x1 == x2) <console>:8: error: not found: x1
The text was updated successfully, but these errors were encountered:
Fix scala#1372: Properly handle PatDefs in REPL
6c61274
183a852
Fix scala#1372: Add handler for PatDefs to REPL
PatDef
df9080a
2a17a7c
57f41f6
17ba942
Merge pull request #1436 from cswinter/wip-repl-patdef-fix
62348de
Fix #1372: Add handler for `PatDef`s to REPL
No branches or pull requests
taken from: http://scalapuzzlers.com/#pzzlr-017
This code works in dotc, but does not work in repl:
The text was updated successfully, but these errors were encountered: