-
-
Notifications
You must be signed in to change notification settings - Fork 300
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
Constants in DSL can be defined multiple times #253
Comments
Thanks, yes, this is a known issue that's been taken advantage of over the years, so requires more than just fixing it. I'm planning on deprecating |
@simonbrowndotje If yes, if you have a suggestion relative to the DSL part of it I would happily suggest a solution that would better fit what you've in mind. Or maybe you think that this is not worth adding stuff to the DSL until the deprecation of the |
Description
A constant defined with the !constant keyword can be overridden, hence is not constants anymore.
This is quite error prone since it allows to easily redefine a constant value in another file (while using includes).
If it is expected behavior, it would probably be interesting to be able to parametrize it to make it stricter (I did not find a way to do it)
Steps to reproduce
Screenshot
No response
Code sample
No response
Configuration
No response
Severity
Minor
Priority
I have no budget and there's no rush, please fix this for free
More information
No response
The text was updated successfully, but these errors were encountered: