summaryrefslogtreecommitdiffstats
path: root/modules/gdscript/tests/scripts/parser/features/arrays_dictionaries_nested_const.gd
diff options
context:
space:
mode:
authorDanil Alexeev <danil@alexeev.xyz>2023-01-18 20:12:33 +0300
committerDanil Alexeev <danil@alexeev.xyz>2023-01-25 18:43:56 +0300
commitb004f8180e37d1d3a6f06bb5f7f6992b8f0ad5d2 (patch)
treec32c1b7609fc7a091d66405b63945fce1460a1ec /modules/gdscript/tests/scripts/parser/features/arrays_dictionaries_nested_const.gd
parente93266b9ff359c98e9f8e2a550e16ad77490fc4d (diff)
downloadredot-engine-b004f8180e37d1d3a6f06bb5f7f6992b8f0ad5d2.tar.gz
GDScript: Allow constant expressions in annotations
Diffstat (limited to 'modules/gdscript/tests/scripts/parser/features/arrays_dictionaries_nested_const.gd')
-rw-r--r--modules/gdscript/tests/scripts/parser/features/arrays_dictionaries_nested_const.gd2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/gdscript/tests/scripts/parser/features/arrays_dictionaries_nested_const.gd b/modules/gdscript/tests/scripts/parser/features/arrays_dictionaries_nested_const.gd
index cc78309ae4..a34cc26e67 100644
--- a/modules/gdscript/tests/scripts/parser/features/arrays_dictionaries_nested_const.gd
+++ b/modules/gdscript/tests/scripts/parser/features/arrays_dictionaries_nested_const.gd
@@ -1,6 +1,6 @@
# https://github.com/godotengine/godot/issues/50285
-@warning_ignore(unused_local_constant)
+@warning_ignore("unused_local_constant")
func test():
const CONST_INNER_DICTIONARY = { "key": true }
const CONST_NESTED_DICTIONARY_OLD_WORKAROUND = {