mirror of
https://github.com/godotengine/godot.git
synced 2025-10-20 08:23:29 +00:00
Add new GDScript type checker
This commit is contained in:
parent
17cd6347ba
commit
9a76ab8b6a
7 changed files with 2413 additions and 113 deletions
|
@ -1894,6 +1894,8 @@ GDScriptParser::ExpressionNode *GDScriptParser::parse_await(ExpressionNode *p_pr
|
|||
AwaitNode *await = alloc_node<AwaitNode>();
|
||||
await->to_await = parse_precedence(PREC_AWAIT, false);
|
||||
|
||||
current_function->is_coroutine = true;
|
||||
|
||||
return await;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue