From 6000f70f8420e169a25fddecf993cf46d4941912 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=9C=80=E8=90=8C=E5=B0=8F=E6=B1=90?= Date: Wed, 23 Jan 2019 15:43:48 +0800 Subject: =?UTF-8?q?=E7=A9=BA=E9=97=B2=E7=BC=96=E8=AF=91=E4=BC=9A=E8=AE=A9?= =?UTF-8?q?=E5=87=BA=EF=BC=8C=E5=9B=A0=E6=AD=A4=E5=BF=85=E9=A1=BB=E5=9C=A8?= =?UTF-8?q?=E7=BC=96=E8=AF=91=E5=AE=8C=E6=88=90=E5=90=8E=E6=89=8D=E8=83=BD?= =?UTF-8?q?=E5=8E=BB=E9=99=A4=E6=A0=87=E8=AE=B0=EF=BC=8C=E4=BB=A5=E5=85=8D?= =?UTF-8?q?=E9=98=BB=E7=A2=8D=E7=AB=8B=E5=8D=B3=E7=BC=96=E8=AF=91?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- server/src/service.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- cgit v1.2.3