Open exigow opened 1 year ago
Godot 4 introduced lambda expressions with in-place return keyword.
return
For example:
var positive_numbers = numbers.filter(func(x): return x >= 0)
This code causes false-negative error on return keyword.
Godot 4 introduced lambda expressions with in-place
return
keyword.For example:
This code causes false-negative error on
return
keyword.