diff options
author | 最萌小汐 <sumneko@hotmail.com> | 2022-02-23 17:55:44 +0800 |
---|---|---|
committer | 最萌小汐 <sumneko@hotmail.com> | 2022-02-23 17:55:44 +0800 |
commit | f8e2955268708728a1f83743d0b2000d2e089539 (patch) | |
tree | 102ede06a30d1629025f1c45096aff030e05c8ee /test/definition/field.lua | |
parent | c1ccd90beef8b0a79a8e9c47547dda3dd865e14d (diff) | |
download | lua-language-server-f8e2955268708728a1f83743d0b2000d2e089539.zip |
cleanup
Diffstat (limited to 'test/definition/field.lua')
-rw-r--r-- | test/definition/field.lua | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/test/definition/field.lua b/test/definition/field.lua new file mode 100644 index 00000000..5b5b67f9 --- /dev/null +++ b/test/definition/field.lua @@ -0,0 +1,23 @@ +TEST [[ +X.<!y!> = 1 + +local t = X + +print(t.<?y?>) +]] + +TEST [[ +X.x.<!y!> = 1 + +local t = X.x + +print(t.<?y?>) +]] + +TEST [[ +X.x.<!y!> = 1 + +local t = X + +print(t.x.<?y?>) +]] |