diff options
author | 最萌小汐 <sumneko@hotmail.com> | 2019-10-31 19:43:48 +0800 |
---|---|---|
committer | 最萌小汐 <sumneko@hotmail.com> | 2019-10-31 19:43:48 +0800 |
commit | d004c1c6dcc5716d1e2f049782b660bb3d7bd74d (patch) | |
tree | 5b36bafba9e0a5c6452bc1e160990a8ca9f8d4d0 /server/test | |
parent | b63286f959f6a07c8901b0e3f0e03e81a935ac4d (diff) | |
download | lua-language-server-d004c1c6dcc5716d1e2f049782b660bb3d7bd74d.zip |
#fixed 104
Diffstat (limited to 'server/test')
-rw-r--r-- | server/test/diagnostics/init.lua | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/server/test/diagnostics/init.lua b/server/test/diagnostics/init.lua index 666d72dc..ec0b76ba 100644 --- a/server/test/diagnostics/init.lua +++ b/server/test/diagnostics/init.lua @@ -554,6 +554,16 @@ local x x = x or -1 ]] +TEST [[ +local x +x = x or (0 + 1) +]] + +TEST [[ +local x, y +x = (x + y) or 0 +]] + --TEST [[ --local t = {} --function t:<!a!>() |