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

GDScript: Fix checking if a call is awaited in compiler

This commit is contained in:
Dmitrii Maganov
2023-03-01 08:47:09 +02:00
parent 2e530c1317
commit 55a2ad25bf
2 changed files with 8 additions and 6 deletions

View File

@@ -137,7 +137,7 @@ class GDScriptCompiler {
int err_column = 0;
StringName source;
String error;
bool within_await = false;
GDScriptParser::ExpressionNode *awaited_node = nullptr;
public:
static void convert_to_initializer_type(Variant &p_variant, const GDScriptParser::VariableNode *p_node);