From 5d31ce4b161553e85bbd8397f2ce62cbd213095f Mon Sep 17 00:00:00 2001 From: George Marques Date: Wed, 15 Sep 2021 09:56:24 -0300 Subject: GDScript: Allow string keys on Lua-style dictionaries Which is useful when the key isn't a valid identifier, such as keys with spaces or numeric keys. --- modules/gdscript/tests/scripts/parser/features/dictionary_lua_style.out | 2 ++ 1 file changed, 2 insertions(+) create mode 100644 modules/gdscript/tests/scripts/parser/features/dictionary_lua_style.out (limited to 'modules/gdscript/tests/scripts/parser/features/dictionary_lua_style.out') diff --git a/modules/gdscript/tests/scripts/parser/features/dictionary_lua_style.out b/modules/gdscript/tests/scripts/parser/features/dictionary_lua_style.out new file mode 100644 index 0000000000..447d7e223c --- /dev/null +++ b/modules/gdscript/tests/scripts/parser/features/dictionary_lua_style.out @@ -0,0 +1,2 @@ +GDTEST_OK +{2:4, a:1, b:2, with spaces:3} -- cgit v1.2.3