-
-
Notifications
You must be signed in to change notification settings - Fork 1.5k
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
backticks : Float-like part of a variable identifier is changed in [XDeclaredButNotUsed] Hint #14407
Labels
Comments
ringabout
added a commit
to ringabout/Nim
that referenced
this issue
Oct 31, 2020
It is OS specfic. It doesn't happen in windows. |
This is caused by Nim parser. The contents between tkAccent is parsed like this in Linux `
v0
.
99.98999999999999
` And
in linux
|
kaushalmodi
added a commit
to kaushalmodi/Nim
that referenced
this issue
Jun 10, 2021
Fixes nim-lang#14407 . This issue was fixed by nim-lang#18139.
kaushalmodi
added a commit
to kaushalmodi/Nim
that referenced
this issue
Jun 23, 2021
Fixes nim-lang#14407 . This issue was fixed by nim-lang#18139.
kaushalmodi
added a commit
to kaushalmodi/Nim
that referenced
this issue
Jun 24, 2021
Fixes nim-lang#14407 . This issue was fixed by nim-lang#18139.
Araq
pushed a commit
that referenced
this issue
Jun 24, 2021
PMunch
pushed a commit
to PMunch/Nim
that referenced
this issue
Mar 28, 2022
Fixes nim-lang#14407 . This issue was fixed by nim-lang#18139.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
A variable name like
`v0.99.99`
changes when it's reported in the XDeclaredButNotUsed hint. The last part .99, seems like, is treated like a float.Example
Run
nim c t.nim
.Current Output
Expected Output
Additional Information
version
module when I noticed the strange-looking hints.The text was updated successfully, but these errors were encountered: