diff options
-rw-r--r-- | server/src/service.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/server/src/service.lua b/server/src/service.lua index 8e22c724..3b3b4f1d 100644 --- a/server/src/service.lua +++ b/server/src/service.lua @@ -288,7 +288,6 @@ function mt:compileVM(uri) return nil end - local compiled = self:_markCompiled(uri) local clock = os.clock() local ast = self:compileAst(obj) obj.astCost = os.clock() - clock @@ -303,6 +302,7 @@ function mt:compileVM(uri) obj.lines = parser:lines(obj.text, 'utf8') obj.lineCost = os.clock() - clock + local compiled = self:_markCompiled(uri) self._needDiagnostics[uri] = true if not obj.vm then |