godot/modules/gdscript/tests/scripts/parser/features/dictionary_mixed_syntax.gd

13 lines
198 B
GDScript3
Raw Normal View History

func test():
# Mixing Python-style and Lua-style syntax in the same dictionary declaration
# is allowed.
var dict = {
"hello": {
world = {
"is": "beautiful",
},
},
}
print(dict)