summaryrefslogtreecommitdiff
path: root/server/src/service.lua
diff options
context:
space:
mode:
Diffstat (limited to 'server/src/service.lua')
-rw-r--r--server/src/service.lua4
1 files changed, 2 insertions, 2 deletions
diff --git a/server/src/service.lua b/server/src/service.lua
index ae6b6714..80f2ba14 100644
--- a/server/src/service.lua
+++ b/server/src/service.lua
@@ -4,7 +4,7 @@ local thread = require 'bee.thread'
local async = require 'async'
local rpc = require 'rpc'
local parser = require 'parser'
-local matcher = require 'matcher'
+local core = require 'core'
local lang = require 'language'
thread.newchannel 'proto'
@@ -328,7 +328,7 @@ function mt:compileVM(uri)
local ast = self:compileAst(obj)
self:_clearChainNode(obj, uri)
- obj.vm = matcher.vm(ast, self, uri)
+ obj.vm = core.vm(ast, self, uri)
obj.lines = parser:lines(obj.text, 'utf8')
self._needDiagnostics[uri] = true