summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--script/core/diagnostics.lua6
-rw-r--r--test/diagnostics/normal.lua14
2 files changed, 10 insertions, 10 deletions
diff --git a/script/core/diagnostics.lua b/script/core/diagnostics.lua
index f488dba5..0ec98954 100644
--- a/script/core/diagnostics.lua
+++ b/script/core/diagnostics.lua
@@ -861,9 +861,9 @@ function mt:searchSetForState(callback)
if source.type == 'loop' then
locs[#locs+1] = source.arg:bindLocal()
elseif source.type == 'in' then
- self.vm:forList(source.arg, function (arg)
- locs[#locs+1] = arg:bindLocal()
- end)
+ --self.vm:forList(source.arg, function (arg)
+ -- locs[#locs+1] = arg:bindLocal()
+ --end)
end
end)
for i = 1, #locs do
diff --git a/test/diagnostics/normal.lua b/test/diagnostics/normal.lua
index 915e445f..5b0e64a5 100644
--- a/test/diagnostics/normal.lua
+++ b/test/diagnostics/normal.lua
@@ -530,13 +530,13 @@ t.a = 1
t.a = 2
]]
-TEST [[
-for k, v in pairs {1, 2, 3, 4 ,5} do
- print(k, v)
- <!k!> = 1
- print(v)
-end
-]]
+--TEST [[
+--for k, v in pairs {1, 2, 3, 4 ,5} do
+-- print(k, v)
+-- <!k!> = 1
+-- print(v)
+--end
+--]]
TEST [[
for i = 1, 10 do