mirror of
https://github.com/godotengine/godot.git
synced 2025-01-23 10:21:23 +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) {
|
if (p_parameter->datatype_specifier != nullptr) {
|
||||||
resolve_datatype(p_parameter->datatype_specifier);
|
result = resolve_datatype(p_parameter->datatype_specifier);
|
||||||
result = p_parameter->datatype_specifier->get_datatype();
|
|
||||||
result.is_meta_type = false;
|
result.is_meta_type = false;
|
||||||
|
|
||||||
if (p_parameter->default_value != nullptr) {
|
if (p_parameter->default_value != nullptr) {
|
||||||
|
Loading…
Reference in New Issue
Block a user