Explorar el Código

Merge pull request #8429 from ToasterBiome/patch-2

Clarifies that Lua-style dictionary keys must be string literals in the GD Reference
Max Hilbrunner hace 1 año
padre
commit
d41f3b5e22
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      tutorials/scripting/gdscript/gdscript_basics.rst

+ 1 - 1
tutorials/scripting/gdscript/gdscript_basics.rst

@@ -787,7 +787,7 @@ Associative container which contains values referenced by unique keys.
 Lua-style table syntax is also supported. Lua-style uses ``=`` instead of ``:``
 and doesn't use quotes to mark string keys (making for slightly less to write).
 However, keys written in this form can't start with a digit (like any GDScript
-identifier).
+identifier), and must be string literals.
 
 ::