Closed el-falso closed 5 months ago
Could you please post the full gdscript code? Or at least the failing part?
I did! but here a more valid script test.gd
extends Node2D
@onready var test := %"Test"
It fails with:
test.gd:
@onready var test := %"Test"
^
Unexpected token Token('REGULAR_STRING', '"Test"') at line 2, column 23.
Expected one of:
* NAME
Previous tokens: [Token('PERCENT', '%')]
Failure: 1 problem found
Currently there is a problem with
gdlint
not recognizing unique names correctly which are based on aString
:For example:
@onready var test := %"Test"
, which is valid in GDScript, will raise the following error: