Closed xxyzz closed 3 months ago
As the Scribunto code and the GH issues(#90, #258) shows, mw.loadData() runs in a cloned environment so the caller env doesn't affect the code runs inside loadData.
mw.loadData()
loadData
I finally sort of understand this clone env problem...
Wonderful!!
I have tested the code on es edition dump file and there are no new Lua errors.
As the Scribunto code and the GH issues(#90, #258) shows,
mw.loadData()
runs in a cloned environment so the caller env doesn't affect the code runs insideloadData
.I finally sort of understand this clone env problem...