GDScript: Fix non-static call is allowed in static var lambda body
This commit is contained in:
@@ -838,7 +838,7 @@ public:
|
||||
HashMap<StringName, int> parameters_indices;
|
||||
TypeNode *return_type = nullptr;
|
||||
SuiteNode *body = nullptr;
|
||||
bool is_static = false;
|
||||
bool is_static = false; // For lambdas it's determined in the analyzer.
|
||||
bool is_coroutine = false;
|
||||
Variant rpc_config;
|
||||
MethodInfo info;
|
||||
|
||||
Reference in New Issue
Block a user