JohnnyMorganz
JohnnyMorganz
Actually... there seems to be another solution: changing the last overload to be `(val: unknown) -> boolean`. This solves the original task, without having the drawback of `any` causing problems...
Just an FYI that an issue has already been made for this a while ago, but was closed as it should've been an RFC: https://github.com/Roblox/luau/issues/126#issuecomment-1005007173 If you want this to...
I think you need to use intersection syntax instead `func1 & func2`. Although maybe the error message could better indicate that?
Blocked on https://github.com/Roblox/luau/issues/817
We need to provide a way to specify definition files names for this to work correctly.
We are still missing location information. Blocked on https://github.com/luau-lang/luau/issues/1137
For my usecases I would say yes - this is solved by sourcemaps. Maybe there should be an API to retrieve a sourcemap via a HTTP request? I don't need...
I imagine this is to do with the fact that neovim and other clients use legacy push-based diagnostics, whilst VSCode uses pull-based diagnostics. We are most likely not handling push...
I checked the code and we do have something setup for push diagnostics. However, it is behind a configuration: do you have either `luau-lsp.diagnostics.includeDependents` or `luau-lsp.diagnostics.workspace` enabled? If not, one...
I had this all wrong. So neovim does use pull diagnostics, but slightly differently than the way vscode does it. Pull diagnostics essentially means the client requests the diagnostics from...