diff options
Diffstat (limited to 'test')
-rw-r--r-- | test/definition/table.lua | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/test/definition/table.lua b/test/definition/table.lua index 61e8746d..0fb76191 100644 --- a/test/definition/table.lua +++ b/test/definition/table.lua @@ -134,6 +134,22 @@ local y = { t.<?insert?>() ]] + +TEST [[ +local x +x.y.<!z!> = 1 +print(x.y.<?z?>) +]] + + +TEST [[ +local x +x.y = { + <!z!> = 1 +} +print(x.y.<?z?>) +]] + TEST [[ local function f() local t = {} |