소스 검색

Merge pull request #8429 from ToasterBiome/patch-2

Clarifies that Lua-style dictionary keys must be string literals in the GD Reference
Max Hilbrunner 1 년 전
부모
커밋
d41f3b5e22
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  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.
 
 ::