Skip to content
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

GDScript: Remove RENAMED_IN_GODOT_4_HINT from GDScriptWarning::Code enum #92526

Conversation

dalexeev
Copy link
Member

The presence of RENAMED_IN_GODOT_4_HINT in the GDScriptWarning::Code enum means that a warning with code RENAMED_IN_GODOT_4_HINT exists. However, it doesn't actually exist! A warning with this code is never produced.

This option was mistakenly implemented as a warning, even though there are other checkboxes implemented as normal project settings. It also added hardcode in several places.

This PR fixes the above. This does not break compatibility, but there are two minor changes: the checkbox is moved up and the default value of the setting changes from 1 to true (which is correct since the type is bool).

This PR also removes deprecated warnings from autocompletion, since they are never produced.

@dalexeev dalexeev added this to the 4.4 milestone May 29, 2024
@dalexeev dalexeev requested review from a team as code owners May 29, 2024 21:47
@dalexeev dalexeev force-pushed the gds-remove-renamed-hint-from-warning-enum branch from e74eac6 to cd918ff Compare January 9, 2025 18:07
@dalexeev dalexeev requested a review from a team as a code owner January 9, 2025 18:07
@akien-mga akien-mga merged commit 496a990 into godotengine:master Jan 9, 2025
20 checks passed
@akien-mga
Copy link
Member

Thanks!

@dalexeev dalexeev deleted the gds-remove-renamed-hint-from-warning-enum branch January 9, 2025 20:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants