It appears that this script is sufficiently complicated that it’s tripping the Luau typechecker’s analysis timeout, which then deprives Go To Declaration of the analysis data it uses to find the declaration. We will discuss improvements to this workflow to make these timeouts more transparent and potentially offer an override.
Hi we’re working on a project to enable continuous updates to the type checker, this will be addressed when that feature ships. Just let us know if you have any questions, thanks again!
function fooA()
fooB() -- cannot go to fooB declaration
end
function fooB()
end
It can’t go to functions that were declared after the call site. If I put fooB before fooA, then it works again. It’s been more than 1 year, so I’m wondering if this is still being worked on?