You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-04 12:00:25 +00:00
Merge pull request #72206 from vnen/gdscript-allow-void-return-shorthand
GDScript: Allow void functions to return calls to other void functions
This commit is contained in:
@@ -69,6 +69,7 @@ public:
|
||||
UNSAFE_METHOD_ACCESS, // Function not found in the detected type (but can be in subtypes).
|
||||
UNSAFE_CAST, // Cast used in an unknown type.
|
||||
UNSAFE_CALL_ARGUMENT, // Function call argument is of a supertype of the require argument.
|
||||
UNSAFE_VOID_RETURN, // Function returns void but returned a call to a function that can't be type checked.
|
||||
DEPRECATED_KEYWORD, // The keyword is deprecated and should be replaced.
|
||||
STANDALONE_TERNARY, // Return value of ternary expression is discarded.
|
||||
ASSERT_ALWAYS_TRUE, // Expression for assert argument is always true.
|
||||
|
||||
Reference in New Issue
Block a user