summaryrefslogtreecommitdiff
path: root/server/src/vm/source.lua
diff options
context:
space:
mode:
author最萌小汐 <sumneko@hotmail.com>2019-03-13 14:46:52 +0800
committer最萌小汐 <sumneko@hotmail.com>2019-03-13 14:46:52 +0800
commit6300e191ee1a36b79e70bf572614d4638df1c4c8 (patch)
treee4f5c374ec16a83cd6f2647269d72d491ea0c1d1 /server/src/vm/source.lua
parenta546d8a79f795415cf5875fe58483b9bd9ea9d3b (diff)
downloadlua-language-server-6300e191ee1a36b79e70bf572614d4638df1c4c8.zip
一处清理
Diffstat (limited to 'server/src/vm/source.lua')
-rw-r--r--server/src/vm/source.lua4
1 files changed, 4 insertions, 0 deletions
diff --git a/server/src/vm/source.lua b/server/src/vm/source.lua
index e6e15e9c..247788b0 100644
--- a/server/src/vm/source.lua
+++ b/server/src/vm/source.lua
@@ -80,6 +80,10 @@ function mt:getName()
return self[1]
end
+function mt:isDead()
+ return self._dead
+end
+
return function (vm, source)
if source._hasInstant then
return false