mirror of
https://github.com/godotengine/godot
synced 2024-09-04 21:28:28 +00:00
Fix parameter type resolution in GDScript
This commit is contained in:
parent
d72f12a561
commit
7c79e361f5
|
@ -1398,8 +1398,7 @@ void GDScriptAnalyzer::resolve_parameter(GDScriptParser::ParameterNode *p_parame
|
|||
}
|
||||
|
||||
if (p_parameter->datatype_specifier != nullptr) {
|
||||
resolve_datatype(p_parameter->datatype_specifier);
|
||||
result = p_parameter->datatype_specifier->get_datatype();
|
||||
result = resolve_datatype(p_parameter->datatype_specifier);
|
||||
result.is_meta_type = false;
|
||||
|
||||
if (p_parameter->default_value != nullptr) {
|
||||
|
|
Loading…
Reference in a new issue