luaeval returns number out of float

2023-06-06 Thread Nikola
Hi, I use luaeval to compute some float result. these floating values are returned to vim9 defined func which itself returns float type. When i run a try, vim echoes error E1012: type mismatch; expected float but got number. Code: def Foo(): float return luaeval('require("compute.utils"

Re: luaeval returns number out of float

2023-06-06 Thread Nikola
Lua dll used version is 5.4.6. Le mardi 6 juin 2023 à 10:48:06 UTC+2, Nikola a écrit : > Hi, > > I use luaeval to compute some float result. > these floating values are returned > to vim9 defined func which itself returns float type. > > When i run a try, vim echoes error E1012: type mismatc

Re: The package you uploaded (vim-noweb.tgz) is empty

2023-06-06 Thread Bram Moolenaar
John Beckett wrote: > On Tuesday, June 6, 2023 at 3:31:29 AM UTC+10 Bram Moolenaar wrote: > > > I have see some DB errors the last few days. Usually the problem goes > > away a bit later, e.g. after an hour. I have no clue what might cause this. > > Are you able to ask for help at the hosting

Re: luaeval returns number out of float

2023-06-06 Thread Bram Moolenaar
> I use luaeval to compute some float result. > these floating values are returned > to vim9 defined func which itself returns float type. > > When i run a try, vim echoes error E1012: type mismatch; expected float but > got number. > > > Code: > def Foo(): float > return luaeval('requi