From 662532d837d88ec470206b24a1e73cef871f66b6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=9C=80=E8=90=8C=E5=B0=8F=E6=B1=90?= Date: Fri, 1 Jul 2022 16:42:21 +0800 Subject: fix --- script/vm/compiler.lua | 3 +++ 1 file changed, 3 insertions(+) (limited to 'script/vm/compiler.lua') diff --git a/script/vm/compiler.lua b/script/vm/compiler.lua index a1fa395c..bf0cc44b 100644 --- a/script/vm/compiler.lua +++ b/script/vm/compiler.lua @@ -904,6 +904,9 @@ end local function compileForVars(source) if source._iterator then return + end + if not source.exps then + return end -- for k, v in pairs(t) do --> for k, v in iterator, status, initValue do -- cgit v1.2.3