mirror of
https://github.com/godotengine/godot.git
synced 2026-01-05 06:11:29 +03:00
Add grouping annotations for class properties in GDScript
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
# Error here. `class_name` should be used *before* annotations, not after.
|
||||
# Error here. `class_name` should be used *before* annotations, not after (except @tool).
|
||||
@icon("res://path/to/optional/icon.svg")
|
||||
class_name HelloWorld
|
||||
|
||||
func test():
|
||||
pass
|
||||
pass
|
||||
|
||||
@@ -1,2 +1,2 @@
|
||||
GDTEST_PARSER_ERROR
|
||||
"class_name" should be used before annotations.
|
||||
"class_name" should be used before annotations (except @tool).
|
||||
|
||||
Reference in New Issue
Block a user