[bug]: syntax highlighting fails for string literal union
spaceunifyfifty opened this issue · 0 comments
spaceunifyfifty commented
Describe the bug
When annotating type of a parameter as a union of literal strings, only the first string correctly highlights.
Scastie snippet link
https://scastie.scala-lang.org/yhCU9W46TiKfXzrglYjr5g
To Reproduce
def fn(x: "yes" | "no") = ???
Expected behavior
the "no"
string should also be highlighted.
Screenshot ( Optional )
Version
Scastie website
What browsers are you seeing the problem on?
Firefox
Relevant log output
No response