Skip to content

val with upper case is not highlighted correctly #157

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
nicolasstucki opened this issue Nov 30, 2020 · 1 comment
Closed

val with upper case is not highlighted correctly #157

nicolasstucki opened this issue Nov 30, 2020 · 1 comment
Labels
bug Something isn't working Scala 2 Scala 3

Comments

@nicolasstucki
Copy link
Contributor

Screenshot 2020-11-30 at 17 21 50

@nicolasstucki nicolasstucki added bug Something isn't working Scala 2 Scala 3 labels Nov 30, 2020
@nicolasstucki
Copy link
Contributor Author

Currently, we are handling val Foo as constant.other.declaration.scala instead of variable.other.declaration.scala. We cannot make this semantic distinction syntactically in Scala. We should always mark them as variable.other.declaration.scala.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working Scala 2 Scala 3
Projects
None yet
Development

No branches or pull requests

1 participant