summaryrefslogtreecommitdiff
path: root/server/src/vm
diff options
context:
space:
mode:
Diffstat (limited to 'server/src/vm')
-rw-r--r--server/src/vm/emmy.lua4
-rw-r--r--server/src/vm/vm.lua3
2 files changed, 6 insertions, 1 deletions
diff --git a/server/src/vm/emmy.lua b/server/src/vm/emmy.lua
index b2f38693..6e5c2b13 100644
--- a/server/src/vm/emmy.lua
+++ b/server/src/vm/emmy.lua
@@ -8,6 +8,10 @@ function mt:doEmmyClass(action)
action:set('emmy.class', class)
end
+function mt:doEmmyType(action)
+ local emmyMgr = self.emmyMgr
+end
+
function mt:doEmmyIncomplete(action)
self:instantSource(action)
end
diff --git a/server/src/vm/vm.lua b/server/src/vm/vm.lua
index b89a8c51..e2fd6abc 100644
--- a/server/src/vm/vm.lua
+++ b/server/src/vm/vm.lua
@@ -1042,6 +1042,7 @@ function mt:doAction(action)
elseif tp == 'emmyClass' then
self:doEmmyClass(action)
elseif tp == 'emmyType' then
+ self:doEmmyType(action)
elseif tp == 'emmyAlias' then
elseif tp == 'emmyParam' then
elseif tp == 'emmyReturn' then
@@ -1280,7 +1281,7 @@ return function (ast, lsp, uri)
main = nil,
env = nil,
emmy = nil,
- emmyMgr = lsp and lsp.emmyMgr or emmyMgr(),
+ emmyMgr = lsp and lsp.emmy or emmyMgr(),
lsp = lsp,
uri = uri or '',
}, mt)