We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
When annotating type of a parameter as a union of literal strings, only the first string correctly highlights.
https://scastie.scala-lang.org/yhCU9W46TiKfXzrglYjr5g
def fn(x: "yes" | "no") = ???
the "no" string should also be highlighted.
"no"
Scastie website
Firefox
No response
The text was updated successfully, but these errors were encountered:
No branches or pull requests
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
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
The text was updated successfully, but these errors were encountered: