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: Fix false positive CONFUSABLE_CAPTURE_REASSIGNMENT warnings #93699

Merged

Conversation

dalexeev
Copy link
Member

Subscript access on arrays, dictionaries and objects is not a reassignment, unlike pass-by-value types like Vector2.

@dalexeev dalexeev added this to the 4.3 milestone Jun 28, 2024
@dalexeev dalexeev requested a review from a team as a code owner June 28, 2024 13:15
@dalexeev dalexeev force-pushed the gds-fix-false-positive-capture-warnings branch from 57ffdb7 to d15ed0b Compare June 28, 2024 13:41
@akien-mga akien-mga merged commit 4777685 into godotengine:master Jun 28, 2024
17 checks passed
@akien-mga
Copy link
Member

Thanks!

@dalexeev dalexeev deleted the gds-fix-false-positive-capture-warnings branch June 28, 2024 13: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