[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: [PATCH] setmetatable({}) causes error
- From: Luiz Henrique de Figueiredo <lhf@...>
- Date: Thu, 13 Jul 2017 10:16:43 -0300
> There are exactly zero other scenarios in Lua where f(nil) produces different
> behavior than f().
Try assert(), getmetatable(), ipairs(), pcall(), tonumber(), tostring(), type().