Skip to content

REPL: Incorrect pretty-printing of singleton types #3683

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
smarter opened this issue Dec 20, 2017 · 0 comments · Fixed by #6590
Closed

REPL: Incorrect pretty-printing of singleton types #3683

smarter opened this issue Dec 20, 2017 · 0 comments · Fixed by #6590

Comments

@smarter
Copy link
Member

smarter commented Dec 20, 2017

scala> val a = "foo" 
val a: String = "foo"
scala> val x: a.type = a 
val x: String(a) = "foo"

This should be a.type, not String(a).

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.

1 participant