JohnnyMorganz

Results 120 issues of JohnnyMorganz

Regression since 1.29. If there is no sourcemap, we apply strict DM types incorrectly to `game` / `script` / `workspace` even if the setting is off, causing type errors.

bug

`game:FindFirstChild("Descendant", true)` ```luau --[[ Animator is not a direct child of TemplateR15, it is a descendant of it |_ TemplateR15 |_ Humanoid | |_ Animator |_ ... ]] local template...

enhancement

- The snippets are arbitrary and will move your cursor to the end - Doesn't give good names to the parameters for ScriptSignal connections - Make it optional whether type...

enhancement

Reported from https://github.com/JohnnyMorganz/luau-lsp/issues/948 luau-lsp relies on Luau's AutocompleteContext to determine whether it is valid to suggest auto-requires at the current location. i.e., we should only suggest them if the context...

bug

If a non-exported type alias is defined in a file but it is not used, it should be reported as a lint, similar to `LocalUnused`: ```luau local x = false...

enhancement

Minimized example from https://github.com/aatxe/lute/blob/primary/batteries/json.luau Not quite sure if this is a bug or working as intended, but cannot pass a function returning a type pack to buffer.writeu8 that only accepts...

bug
new solver

Minimized example from https://github.com/aatxe/lute/blob/primary/batteries/json.luau Seems to be due to the interaction with `string.match` ```luau type DeserializerState = { src: string, cursor: number, } function deserialize_number(state: DeserializerState) -- ... end function...

bug
new solver