You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Apr 19, 2019. It is now read-only.
Repository navigation
This repository was archived by the owner on Apr 19, 2019. It is now read-only.
It appears that the upvalue is being opened on the for loop, resulting in it being cleared each iteration. We either need to defer opening the variable or move opening to before the loop.
Currently
localcaforv=1, 1do-- Upvalue created here (and after the last iteration)ifvthenca=vendendassert(ca);
(function() returncaend)()
Ideally
localca-- Upvalue created hereforv=1, 1doifvthenca=vendendassert(ca);
-- Or here
(function() returncaend)()
Activity
SquidDev commentedon Oct 9, 2016
A minimal reproduction:
SquidDev commentedon Oct 13, 2016
It appears that the upvalue is being opened on the for loop, resulting in it being cleared each iteration. We either need to defer opening the variable or move opening to before the loop.
Currently
Ideally