diff options
author | 最萌小汐 <sumneko@hotmail.com> | 2022-02-18 18:05:53 +0800 |
---|---|---|
committer | 最萌小汐 <sumneko@hotmail.com> | 2022-02-18 18:05:53 +0800 |
commit | 7e389b1f939365282a18e2db0ffec12fa9cb3f07 (patch) | |
tree | 2519f972037b39488e89956ac7677175eaf4abe2 /test/definition | |
parent | 5aff820786099d4f6abff93ae2ae6b60aa4d4432 (diff) | |
download | lua-language-server-7e389b1f939365282a18e2db0ffec12fa9cb3f07.zip |
update
Diffstat (limited to 'test/definition')
-rw-r--r-- | test/definition/table.lua | 17 |
1 files changed, 2 insertions, 15 deletions
diff --git a/test/definition/table.lua b/test/definition/table.lua index 47cb13ea..9486ae93 100644 --- a/test/definition/table.lua +++ b/test/definition/table.lua @@ -161,26 +161,13 @@ print(x.y.<?z?>) TEST [[ local function f() - local t = {} - t.field1 = { + local t = { <!x!> = 1, - y = 1, - z = 1, - } - t.field2 = { - x = 1, - y = 1, - z = 1, - } - t.field3 = { - x = 1, - y = 1, - z = 1, } return t end local t = f() -t.field1.<?x?> +t.<?x?> ]] TEST [[ |