summaryrefslogtreecommitdiff
path: root/modules/gdscript/tests/scripts
diff options
context:
space:
mode:
authorDanil Alexeev <danil@alexeev.xyz>2023-01-24 13:10:45 +0300
committerDanil Alexeev <danil@alexeev.xyz>2023-01-24 13:10:45 +0300
commit13215638a99e5cf4014e4ec91e0e6a90b00c2dcf (patch)
treea53531725ebd2abd7a6cc4f5ba1b22c7744c2cec /modules/gdscript/tests/scripts
parent4fa6edc888cfacd5346bf08afa14b5f5a9bd6d0c (diff)
Clarify error message about script-level annotation
Diffstat (limited to 'modules/gdscript/tests/scripts')
-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".