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

13 lines
198 B
GDScript

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