mirror of
https://github.com/godotengine/godot.git
synced 2024-11-22 04:06:14 +00:00
Merge pull request #73964 from vonagam/fix-coroutine-compiler-type
GDScript: Fix address type for coroutine results
This commit is contained in:
commit
1bd0b296e1
@ -85,7 +85,7 @@ void GDScriptCompiler::_set_error(const String &p_error, const GDScriptParser::N
|
||||
}
|
||||
|
||||
GDScriptDataType GDScriptCompiler::_gdtype_from_datatype(const GDScriptParser::DataType &p_datatype, GDScript *p_owner) {
|
||||
if (!p_datatype.is_set() || !p_datatype.is_hard_type()) {
|
||||
if (!p_datatype.is_set() || !p_datatype.is_hard_type() || p_datatype.is_coroutine) {
|
||||
return GDScriptDataType();
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user