Add new GDScript type checker

This commit is contained in:
George Marques 2020-06-10 19:53:25 -03:00
parent 17cd6347ba
commit 9a76ab8b6a
No known key found for this signature in database
GPG key ID: 046BD46A3201E43D
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;
}