Add new GDScript type checker

This commit is contained in:
George Marques committed 2020-07-20 11:38:40 -03:00
1 parent 17cd6347ba
commit 9a76ab8b6a
7 files changed
+2413 -113

No files matched your search

+2
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;
}