JohnnyMorganz / luau-lsp

Language Server Implementation for Luau
MIT License
248 stars 61 forks source link

Path2DControlPoint.new falsely errors #847

Open ActualMasterOogway opened 6 days ago

ActualMasterOogway commented 6 days ago

image local ControlPoint = Path2DControlPoint.new(UDim2.new(0, 0, 0, 0)) TypeError: Type 'UDim2' from '@ roblox' could not be converted into 'UDim2' from '@ roblox' Luau(1000)

Should I report this issue to the Luau Repo or is it an issue in Luau LSP?

notpoiu commented 6 days ago
image

I also got a issue similar to this issue:

function Script.Functions.IsKeyDownWrapper(key: Enum.KeyCode)
    return shared.UserInputService:IsKeyDown(key)
end
JohnnyMorganz commented 2 hours ago

This would be an LSP issue, however I cannot reproduce either example. Can you send a minimal example?

image