lua-users home
lua-l archive

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]




On 01/01/2016 15:30, Roberto Ierusalimschy wrote:
```
local mt = {}
mt.__newindex = mt
local t = setmetatable({}, mt)
t[1] = 1
```

Right :-(  Thanks for the report. Probably it was introduced with the
optimizations on table operations; it does not happen in 5.3.1.

The bug is quite subtle. Follows a fix:

Yep! Nice analysis!

Although it is subtle, it seems easy to trigger in Lua code. Should this bug require a "fast-track" emergency bug-fix release of 5.3.3 ?

[...]

-- Roberto



Cheers!

-- Lorenzo