Skip to content

Numeric literals with exponents are not highlighted correctly #105

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
MaximeKjaer opened this issue Jun 29, 2020 · 0 comments
Closed

Numeric literals with exponents are not highlighted correctly #105

MaximeKjaer opened this issue Jun 29, 2020 · 0 comments
Labels
bug Something isn't working

Comments

@MaximeKjaer
Copy link
Contributor

The following examples are not highlighted correctly:

1e12 1e+34 1e-56 1e12f 1e+34f 1e-56f 1e12d 1e+34d 1e-56d
1E12 1E+34 1E-56 1E12f 1E+34f 1E-56f 1E12d 1E+34d 1E-56d
.1e12 .1e+34 .1e-56 .1e12f .1e+34f .1e-56f .1e12d .1e+34d .1e-56d
.1E12 .1E+34 .1E-56 .1E12f .1E+34f .1E-56f .1E12d .1E+34d .1E-56d

Screenshot from 2020-06-30 01-14-55

I would expect them to be entirely orange, and not white + orange + blue.

@nicolasstucki nicolasstucki added the bug Something isn't working label Jun 30, 2020
nicolasstucki added a commit to nicolasstucki/vscode-scala-syntax that referenced this issue Jun 30, 2020
anatoliykmetyuk added a commit that referenced this issue Jun 30, 2020
Fix #105: Detect all combinations of dot in numeric literals
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants