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

GD-579: Part2: Minimize return_value_discarded warnings #582

Merged
merged 1 commit into from
Sep 26, 2024

Conversation

MikeSchulze
Copy link
Owner

Why

If the default settings for warnings are changed to a more detailed level, many warnings are displayed.

What

  • fix debug/gdscript/warnings/return_value_discarded warnings

But we have to deactivate it in the end, because the fluent style of the asserts leads to many of these warnings. Unfortunately, setting the annotation @warning_ignore(“return_value_discarded”) at class level in the test still doesn't work.

…configuration

# Why
If the default settings for warnings are changed to a more detailed level, many warnings are displayed.

# What
- fix debug/gdscript/warnings/return_value_discarded warnings

**But we have to deactivate it in the end, because the fluent style of the asserts leads to many of these warnings.** Unfortunately, setting the annotation `@warning_ignore(“return_value_discarded”)` at class level in the test still doesn't work.
@MikeSchulze MikeSchulze marked this pull request as ready for review September 26, 2024 13:19
@MikeSchulze MikeSchulze changed the title GD-579: Part2: Minimize warnings in debug mode with any warning is configuration GD-579: Part2: Minimize return_value_discarded warnings Sep 26, 2024
@MikeSchulze MikeSchulze merged commit 7d4a7fd into master Sep 26, 2024
@MikeSchulze MikeSchulze deleted the GD-579-2 branch September 26, 2024 13:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

GD-579: Minimize warnings in debug mode with any warning is configuration
1 participant