summaryrefslogtreecommitdiff
path: root/test/definition/bug.lua
diff options
context:
space:
mode:
author最萌小汐 <sumneko@hotmail.com>2018-11-19 17:59:32 +0800
committer最萌小汐 <sumneko@hotmail.com>2018-11-19 17:59:32 +0800
commit2566c29c3714cd3db626ebd8b51604b764be9180 (patch)
treedd7d91aae4bcf1bfb6195d9076178d2763cc2e87 /test/definition/bug.lua
parent3fd972facc6dfb859d71899309723243b7b93880 (diff)
downloadlua-language-server-2566c29c3714cd3db626ebd8b51604b764be9180.zip
修正bug
Diffstat (limited to 'test/definition/bug.lua')
-rw-r--r--test/definition/bug.lua7
1 files changed, 7 insertions, 0 deletions
diff --git a/test/definition/bug.lua b/test/definition/bug.lua
index 48d56b2a..b0e890ca 100644
--- a/test/definition/bug.lua
+++ b/test/definition/bug.lua
@@ -6,3 +6,10 @@ function _()
<?x?>
end
]]
+
+TEST [[
+function _(<!x!>)
+ do return end
+ <?x?> = 1
+end
+]]