diff options
author | 最萌小汐 <sumneko@hotmail.com> | 2019-03-15 13:39:25 +0800 |
---|---|---|
committer | 最萌小汐 <sumneko@hotmail.com> | 2019-03-15 13:39:25 +0800 |
commit | 035143c078f9e87b92a909b415d4d060db155604 (patch) | |
tree | bc53590d20bbfceb8ee3968793d3bc408ae4081f /server/test | |
parent | 37c2aaca32959f6c7862d7120379482f3ce811a3 (diff) | |
download | lua-language-server-035143c078f9e87b92a909b415d4d060db155604.zip |
库函数返回常量时使用新建值
Diffstat (limited to 'server/test')
-rw-r--r-- | server/test/definition/bug.lua | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/server/test/definition/bug.lua b/server/test/definition/bug.lua index b5e8dbe9..1d3ab02c 100644 --- a/server/test/definition/bug.lua +++ b/server/test/definition/bug.lua @@ -83,3 +83,8 @@ local a local <!b!> return f(), <?b?> ]] + +TEST [[ +local a = os.clock() +local <?<!b!>?> = os.clock() +]] |