1
0
mirror of https://github.com/godotengine/godot.git synced 2025-11-05 12:10:55 +00:00

Add new GDScript type checker

This commit is contained in:
George Marques
2020-06-10 19:53:25 -03:00
parent 17cd6347ba
commit 9a76ab8b6a
7 changed files with 2413 additions and 113 deletions

View File

@@ -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;
}