If for exemple I want to use a lambda as argument, let's say for filter function :
func _my_func() -> void:
[0, 2, 3].filter(
func(value: int):
match value:
0:
return false
_:
return true
)
It will be formated as :
func _my_func() -> void:
[0, 2, 3].filter(
func(value: int):
match value:
0:
return false
_:
return true,
)
Notice the extra , added by the formater after return true causing a syntax error.
Same code is correctly formated on 0.21.0.
Related to #287 I think ?
If for exemple I want to use a lambda as argument, let's say for
filterfunction :It will be formated as :
Notice the extra
,added by the formater afterreturn truecausing a syntax error.Same code is correctly formated on 0.21.0.
Related to #287 I think ?