-
-
Notifications
You must be signed in to change notification settings - Fork 368
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
Add deprecated syntax warning type #6549
Add deprecated syntax warning type #6549
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nice work. I will support this PR later by implementing the required annotations for docs
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can you add this to ExprVectorArithmetic while you're at it
sure |
Description
For use when we intend to remove a syntax in a future version. The warning is locally, but not globally, suppressible for those who refuse to update.
I chose to make it a static method, as opposed to an automatic warning in the parser, so that we can call it with whatever message is appropriate in a element's init method.
Target Minecraft Versions: any
Requirements: none
Related Issues: none