Sainan
unread,Dec 24, 2025, 1:22:33 PM (4 days ago) Dec 24Sign in to reply to author
Sign in to forward
You do not have permission to delete messages in this group
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to lu...@googlegroups.com
Hello, I realise I'm a bit 'behind' here, but I noticed the following change to tables in Lua 5.5 (specifically, 002beeebe79065e03dd9f531bee367e8459e3f64):
t = { nil, 2 }
print(#t) -- Lua 5.4: 2, Lua 5.5: 0
print(t[#t]) -- Lua 5.4: 2, Lua 5.5: nil
I didn't see it mentioned as an incompatibility, but I can imagine it can catch someone quite off-guard.
-- Sainan