Frityet

Results 125 comments of Frityet

> > Why is LUAOT_MODULE_SOURCE_CODE not precompiled with luac? > > No particular reason. Keeping it as Lua source was easy to implement. is keeping the lua source within the...

Oh I see, thats intresting!

There's already an option that does this, I forgot what it's called though

> I checked the extension's settings thoroughly like 3 times for an hour before making this issue and no, no there isn't. You are probably confusing it for the "auto...

> Hello @tomlau10 . I looked at this after your feeback. > > I would leave the PR as-is. This indeed can end up creating weird types, but when you...

@hishamhm should we assume that the v1 api is fully depreciated?

> Can it just be `type ErrorStr = Error`? yes, but then you do not have any of the upsides of being able to have default type params

> > Union between 2 tables of the same interface > > Those two types do not inherit the same interface. `Ok` inherits `BaseResult` and `Error` inherits `BaseResult`. Those are...

> IIRC, that happens because each `is BaseResult` application of type variables in the record declaration produces a new (distinct) type. > > What happens if the `divide` function returns...