[Date Prev][Date Next][Thread Prev][Thread Next]
- Subject: [BUG] uservalue has an incorrect value In lua 5.4(work2)
- From: actboy168 <actboy168@...>
- Date: Fri, 6 Jul 2018 11:05:43 +0800
This is an example that can be reproduced.
for i = 1, 1000 do
package.loaded['re'] = nil
And in lprefix.h add
#define lua_assert(cond) assert(cond)
lpeg is not required, this is just a way to easily create a lot of userdata.
It doesn't reproduce every time, you can try it a few more times.