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

[3.x] GDScript: Don't warn about RETURN_VALUE_DISCARDED by default #81089

Conversation

SysError99
Copy link
Contributor

Following #69002. Turns out 4.x has a lot of changes in the GDScript module so cherry-picking it directly is out of question.

I can't really see the reason to keep it enabled by default even with 3.x especially when more of new features cherry-picked from 4.x introduce a lot of discarded values. Anyway, this left to be justified by the maintainer since warnings in 3.x aren't apparent in its own IDE but it's very annoying for users that use external editors.

This is a re-do pull request from a broken #79077 branch.

Copy link
Contributor

@Mickeon Mickeon left a comment

Choose a reason for hiding this comment

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

I have been fine with this for a while.

@akien-mga akien-mga changed the title [3.x] GDScript: Don't warn about RETURN_VALUE_DISCARDED by default [3.x] GDScript: Don't warn about RETURN_VALUE_DISCARDED by default Feb 26, 2024
@lawnjelly lawnjelly merged commit 75cadba into godotengine:3.x Apr 4, 2024
13 checks passed
@lawnjelly
Copy link
Member

Thanks!

@akien-mga akien-mga modified the milestones: 3.x, 3.6 Apr 4, 2024
@SysError99 SysError99 deleted the 3.x-dont-warm-about-return-value-discarded branch April 5, 2024 09:46
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.

5 participants