LanguageServer.jl icon indicating copy to clipboard operation
LanguageServer.jl copied to clipboard

References not resolvable in anonymous function with both positional and keyword arguments.

Open lassepe opened this issue 1 year ago • 0 comments

In the example below, both bar or baz are highlighted with "no definition found". If I remove the ; or make the inner function non-anonymous, name resolution works.

function foo()
    function (bar; baz)
        bar + baz
    end
end

lassepe avatar Aug 04 '24 01:08 lassepe