Skip to content
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

scanner: clearer float literal warning #11313

Merged
merged 3 commits into from
Aug 27, 2021
Merged

Conversation

Cons-Cat
Copy link
Contributor

@Cons-Cat Cons-Cat commented Aug 25, 2021

The warning for a float literal now shows a corrected version of exactly the literal you wrote, rather than a hardcoded 5.0

@spytheman spytheman merged commit 4d5521b into vlang:master Aug 27, 2021
@Cons-Cat Cons-Cat deleted the float_error branch August 27, 2021 14:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants