Skip to content

Disallow floating point literals without a digit after "." #2334

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
odersky opened this issue Apr 30, 2017 · 0 comments
Closed

Disallow floating point literals without a digit after "." #2334

odersky opened this issue Apr 30, 2017 · 0 comments

Comments

@odersky
Copy link
Contributor

odersky commented Apr 30, 2017

In Scala 2, a floating point literal like 2. is now disallowed. Dotty should do the same.

odersky added a commit to dotty-staging/dotty that referenced this issue May 1, 2017
odersky added a commit to dotty-staging/dotty that referenced this issue May 1, 2017
@odersky odersky closed this as completed in 1c48cdb May 7, 2017
odersky added a commit that referenced this issue May 7, 2017
Fix #2334: Require at least one digit after '.' in floating point literals
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

2 participants