Skip to content

Commit fa91b69

Browse files
committed
Make type classes work with refactor
1 parent fcb86a3 commit fa91b69

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

modules/gdscript/gdscript_analyzer.cpp

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -934,6 +934,8 @@ GDScriptParser::DataType GDScriptAnalyzer::resolve_datatype(GDScriptParser::Type
934934
push_error(vformat(R"(Could not find nested type "%s" under base "%s".)", p_type->type_chain[1]->name, result.to_string()), p_type->type_chain[1]);
935935
return bad_type;
936936
}
937+
} else {
938+
p_type->type_chain[0]->set_datatype(result);
937939
}
938940

939941
if (!p_type->container_types.is_empty()) {

0 commit comments

Comments
 (0)