Skip to content

'.' after Int literal should not be highlighted #4454

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
Glavo opened this issue May 3, 2018 · 2 comments
Closed

'.' after Int literal should not be highlighted #4454

Glavo opened this issue May 3, 2018 · 2 comments

Comments

@Glavo
Copy link
Contributor

Glavo commented May 3, 2018

image

@Yyukan
Copy link

Yyukan commented May 8, 2018

I think this behavior is related to double literals which uses point (".") as decimal separator:

screen shot 2018-05-08 at 11 26 48

@Glavo
Copy link
Contributor Author

Glavo commented May 8, 2018

@Yyukan I also think so, but I think Ammonite's behavior is more reasonable:
image
image
image

benkobalog added a commit to benkobalog/dotty that referenced this issue May 8, 2018
@smarter smarter closed this as completed in 443fd37 May 8, 2018
smarter added a commit that referenced this issue May 8, 2018
Fix #4454 '.' after Number literal is not highlighted
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants