diff options
author | Rémi Verschelde <remi@verschelde.fr> | 2022-07-06 15:24:07 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-07-06 15:24:07 +0200 |
commit | ea61cd3b320b145fc0dffb7056c01b5672432d90 (patch) | |
tree | 31fa42f50ec9d8fa437021bab4bf1619efde6c5f /modules/gdscript/tests/scripts/parser/errors | |
parent | 76d0a99707949c1c19363451ebfd59c3ac68a4b9 (diff) | |
parent | f85bafaa11b60617bb049ce5834be70479377426 (diff) |
Merge pull request #62707 from YuriSizov/gdscript-group-those-props
Diffstat (limited to 'modules/gdscript/tests/scripts/parser/errors')
-rw-r--r-- | modules/gdscript/tests/scripts/parser/errors/class_name_after_annotation.gd | 4 | ||||
-rw-r--r-- | modules/gdscript/tests/scripts/parser/errors/class_name_after_annotation.out | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/modules/gdscript/tests/scripts/parser/errors/class_name_after_annotation.gd b/modules/gdscript/tests/scripts/parser/errors/class_name_after_annotation.gd index d13d713454..ada6030132 100644 --- a/modules/gdscript/tests/scripts/parser/errors/class_name_after_annotation.gd +++ b/modules/gdscript/tests/scripts/parser/errors/class_name_after_annotation.gd @@ -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 diff --git a/modules/gdscript/tests/scripts/parser/errors/class_name_after_annotation.out b/modules/gdscript/tests/scripts/parser/errors/class_name_after_annotation.out index 0bcc8acc55..02b33c8692 100644 --- a/modules/gdscript/tests/scripts/parser/errors/class_name_after_annotation.out +++ b/modules/gdscript/tests/scripts/parser/errors/class_name_after_annotation.out @@ -1,2 +1,2 @@ GDTEST_PARSER_ERROR -"class_name" should be used before annotations. +"class_name" should be used before annotations (except @tool). |