intellij-gdscript icon indicating copy to clipboard operation
intellij-gdscript copied to clipboard

Add support for lambda expressions with return keyword (GDScript)

Open exigow opened this issue 1 year ago • 0 comments

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.

exigow avatar Jul 23 '23 21:07 exigow