Nim is a statically typed compiled systems programming language. It combines successful concepts from mature languages like Python, Ada and Modula. Its design focuses on efficiency, expressiveness, and elegance (in that order of priority).
is not used, but Nim does not display a XDeclaredButNotUsed hint.
Nim Version
Nim Compiler Version 1.9.5 [Linux: amd64]
Compiled at 2023-06-21
Copyright (c) 2006-2023 by Andreas Rumpf
git hash: db41f04ab0734b0ac5267b46f306b0a311f7fc71
active boot switches: -d:release
Nim Compiler Version 1.6.10 [Linux: amd64]
Compiled at 2023-02-12
Copyright (c) 2006-2021 by Andreas Rumpf
active boot switches: -d:release
Current Output
No `XDeclaredButNotUsed` hint.
Expected Output
repro.nim(2, 6) Hint: 'g' is declared but not used [XDeclaredButNotUsed]
Description
is not used, but Nim does not display a
XDeclaredButNotUsed
hint.Nim Version
Current Output
Expected Output
Possible Solution
No response
Additional Information
No response