mirror of
https://github.com/godotengine/godot.git
synced 2025-11-02 06:31:13 +00:00
Merge pull request #48793 from vnen/gdscript-fix-temp-type-adjust
GDScript: Fix crash caused by uninitialized temp stack slots
This commit is contained in:
commit
2fcfc83da9
3 changed files with 49 additions and 7 deletions
|
|
@ -497,6 +497,8 @@ private:
|
|||
Vector<GDScriptDataType> argument_types;
|
||||
GDScriptDataType return_type;
|
||||
|
||||
Map<int, Variant::Type> temporary_slots;
|
||||
|
||||
#ifdef TOOLS_ENABLED
|
||||
Vector<StringName> arg_names;
|
||||
Vector<Variant> default_arg_values;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue