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

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

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)