From 13215638a99e5cf4014e4ec91e0e6a90b00c2dcf Mon Sep 17 00:00:00 2001 From: Danil Alexeev Date: Tue, 24 Jan 2023 13:10:45 +0300 Subject: Clarify error message about script-level annotation --- .../tests/scripts/parser/errors/class_name_after_annotation.out | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'modules/gdscript/tests/scripts') 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". -- cgit v1.2.3