-
-
Notifications
You must be signed in to change notification settings - Fork 21.4k
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: Check get_node()
shorthand in static functions
#78552
GDScript: Check get_node()
shorthand in static functions
#78552
Conversation
dalexeev
commented
Jun 22, 2023
•
edited
Loading
edited
- Closes Accessing scene unique nodes in a static function from a different node causes error instead of returning null #75645.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Seems fine to me! Thanks @dalexeev for the PR and the test!
Perhaps we should move |
Added the PR to the list of PRs for the discussion about that. |
It should be moved out. Especially because error messages should not differ between debug and release, because we can still run the tests with release builds and this difference would create a false negative. |
58fc352
to
0f27c4a
Compare
Done. |
Thanks! |
Cherry-picked for 4.1.3. |