Skip to content

Conversation

som-snytt
Copy link
Contributor

Literals in the result are highlighted:

scala> :type if true then 1.0 else if true then 10L else "bye"
(1.0 : Double) | ((10L : Long) | ("bye" : String))

Band aid for #10615

@bishabosha
Copy link
Member

Nice, I tried it out, thank you - this had also bugged me but I never made an issue

@bishabosha bishabosha merged commit 5de93b8 into scala:master Dec 3, 2020
@som-snytt som-snytt deleted the issue/10615 branch December 3, 2020 15:22
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

Successfully merging this pull request may close these issues.

2 participants