From 2dfc6d5b698be27469739134ea14d707e14d9a46 Mon Sep 17 00:00:00 2001 From: rune-scape Date: Sat, 10 Dec 2022 21:57:35 -0500 Subject: GDScript: Allow out of order member resolution --- modules/gdscript/gdscript_compiler.cpp | 1 + 1 file changed, 1 insertion(+) (limited to 'modules/gdscript/gdscript_compiler.cpp') 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(); -- cgit v1.2.3