-
-
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
"unknown hint" should not be an error - it should itself be a hint
that can be enabled/disabled
#22706
Comments
fwiw, the devel provides a conditional symbol for LineTooLong ref #22412 @if not nimHasNolineTooLong:
hint[LineTooLong]=off
@end |
this does not help if the warning is part of a command line - nor does it help in nimble scripts (specially when |
The problem is exacerbated by examples like |
Description
this is annoying to manage, when using multiple nim version - it happens in both directions, ie when a hint is added or when one is removed.
typically, when supporting multiple nim versions in a library, we still want to enable and disable hints based on the needs of that library - doing so in a nim-version-specific way is difficult.
we can even add a new hint called
UnknownHint
which users can turn into an error if they want.Nim Version
1.6, 2.0, devel
Current Output
No response
Expected Output
No response
Possible Solution
No response
Additional Information
No response
The text was updated successfully, but these errors were encountered: