summaryrefslogtreecommitdiff
path: root/modules/gdscript/tests/scripts/parser
diff options
context:
space:
mode:
authorRémi Verschelde <rverschelde@gmail.com>2023-01-25 09:17:03 +0100
committerRémi Verschelde <rverschelde@gmail.com>2023-01-25 09:17:03 +0100
commitfc1610a0631e3c5cddddb478d7da1c160ae9baa4 (patch)
tree26de8a3670f51a9969de49f2b8dfc9f173fc32ae /modules/gdscript/tests/scripts/parser
parentfd66a86d725f4fb0f42a737018a4d2f0ebfd40c5 (diff)
parent13215638a99e5cf4014e4ec91e0e6a90b00c2dcf (diff)
Merge pull request #71963 from dalexeev/clarify-script-level-annotation-error
Clarify error message about script-level annotation
Diffstat (limited to 'modules/gdscript/tests/scripts/parser')
-rw-r--r--modules/gdscript/tests/scripts/parser/errors/class_name_after_annotation.out2
1 files changed, 1 insertions, 1 deletions
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 a598ff8424..5fcf1cbcad 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
-Annotation "@icon" is not allowed in this level.
+Annotation "@icon" must be at the top of the script, before "extends" and "class_name".