diff options
author | rune-scape <allie.smith.epic@gmail.com> | 2022-12-10 21:57:35 -0500 |
---|---|---|
committer | rune-scape <allie.smith.epic@gmail.com> | 2022-12-14 21:44:05 -0500 |
commit | 2dfc6d5b698be27469739134ea14d707e14d9a46 (patch) | |
tree | b20b1de8e6a71ded9caf968cff91fcbb0425fc02 /modules/gdscript/gdscript_compiler.cpp | |
parent | 97df6de4a77393069c639a57d22bebb2f6f54680 (diff) | |
download | redot-engine-2dfc6d5b698be27469739134ea14d707e14d9a46.tar.gz |
GDScript: Allow out of order member resolution
Diffstat (limited to 'modules/gdscript/gdscript_compiler.cpp')
-rw-r--r-- | modules/gdscript/gdscript_compiler.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/modules/gdscript/gdscript_compiler.cpp b/modules/gdscript/gdscript_compiler.cpp index 2a98b856ce..4740b9b5a9 100644 --- a/modules/gdscript/gdscript_compiler.cpp +++ b/modules/gdscript/gdscript_compiler.cpp @@ -157,6 +157,7 @@ GDScriptDataType GDScriptCompiler::_gdtype_from_datatype(const GDScriptParser::D result.builtin_type = Variant::INT; } break; + case GDScriptParser::DataType::RESOLVING: case GDScriptParser::DataType::UNRESOLVED: { ERR_PRINT("Parser bug: converting unresolved type."); return GDScriptDataType(); |