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"
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
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
> 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