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

C#: Only check for empty deprecation message if deprecated #88921

Merged
merged 1 commit into from
Feb 27, 2024

Conversation

Repiteo
Copy link
Contributor

@Repiteo Repiteo commented Feb 27, 2024

A recent bug caused glue compilation time to increase drastically, and it came down to a new warning being printed everytime a deprecated message was empty. Meant to be placeholder, but it erroneously did this check at all times, even on non-deprecated systems which very obviously wouldn't have deprecation messages. This fixes that by implementing an extra check to see if something is actually deprecated before making the check & spouting a warning.

@Repiteo Repiteo requested a review from a team as a code owner February 27, 2024 16:27
@raulsntos raulsntos added this to the 4.3 milestone Feb 27, 2024
Copy link
Member

@raulsntos raulsntos left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice catch! Thank you so much.

@akien-mga akien-mga merged commit f5dbbf7 into godotengine:master Feb 27, 2024
16 checks passed
@akien-mga
Copy link
Member

Thanks!

@Repiteo Repiteo deleted the dotnet/deprecate-check-fix branch February 27, 2024 17:59
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.

3 participants