Files
neovim/test/functional/lua
skewb1k 9acbf5102f fix(lua): vim.wait(math.huge) fails #36885
Problem:
`nlua_wait()` uses `luaL_checkinteger()` which doesn't support
`math.huge` since it's double type. On PUC Lua this fails with
'number has no integer representation' error and on LuaJIT this
overflows int.

Solution:
Use `luaL_checknumber()` and handle `math.huge`.

(cherry picked from commit bc0635a9fc)
2025-12-09 23:20:22 +00:00
..
2024-04-23 18:17:04 +02:00
2025-01-09 09:26:45 -08:00
2025-03-14 09:09:16 +00:00
2024-04-23 18:17:04 +02:00
2025-03-02 14:27:52 -08:00