You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
With the new version, the gdlint is broken on lambda code.
It works well with version 4.3.1
extends Node
# Called when the node enters the scene tree for the first time.
func _ready() -> void:
var reports: = []
var test_report: int = reports.filter(func (value: int) -> bool:
return value == 42
).back()
The gdlint reports now an error:
gdlint addons/tt
addons/tt\test_gdlint.gd:
).back()
^
Unexpected token Token('RPAR', ')') at line 10, column 3.
Expected one of:
* CIRCUMFLEX
* HEX
* REGULAR_STRING
* BANG
* BREAKPOINT
* DOLLAR
* PERCENT
* PLUS
* VAR
* AWAIT
* RETURN
* CONST
* LONG_STRING
* WHILE
* AMPERSAND
* LPAR
* NAME
* FUNC
* SET
* LBRACE
* GET
* BIN
* LONG_RSTRING
* LSQB
* CONTINUE
* REGULAR_RSTRING
* BREAK
* IF
* AT
* _DEDENT
* PASS
* TILDE
* MATCH
* NOT
* FOR
* MINUS
* _NL
* NUMBER
Previous tokens: [Token('_NL', '\n\t\t')]
Failure: 1 problem found
The text was updated successfully, but these errors were encountered:
With the new version, the gdlint is broken on lambda code.
It works well with version 4.3.1
The gdlint reports now an error:
The text was updated successfully, but these errors were encountered: