intellij-gdscript
intellij-gdscript copied to clipboard
Add support for lambda expressions with return keyword (GDScript)
Godot 4 introduced lambda expressions with in-place return
keyword.
For example:
var positive_numbers = numbers.filter(func(x): return x >= 0)
This code causes false-negative error on return
keyword.