Description
When you hold CTRL and click on a method, it will usually jump to the declaration or open the Creator Docs if it’s from the Roblox API.
Happens on both solvers.
Re-production Steps
Script
--!strict
local Template = {}
-- Comment
function Template.Test()
warn("test")
end
local Module = {}
-- Comment Overwritten
function Module.Test()
print("test")
end
function Module.OtherTest()
print("other test")
end
local ModuleFinal = Template :: typeof(Template) & typeof(Module)
for k,v in pairs(Module) do
ModuleFinal[k] = v
end
ModuleFinal.Test()
ModuleFinal.OtherTest()
return ModuleFinal
- Hover over
ModuleFinal.OtherTestand click onOtherTestwhile holding CTRL
Expected Result
It jumps to the declaration of OtherTest
Actual Result
It doesn’t jump to the declaration of OtherTest nor Test. But it is able to get the Comments and etc.
If you remove the Union it does work, but there can only be one Union present.