LanguageServer.jl
LanguageServer.jl copied to clipboard
Incorrect possible method call error
This code causes a linter warning for a possible method call error, but I don't see an issue:
struct Foo x::Int end
bar(f::T) where {T <: Foo} = T(f.x)
The linter underlines T(f.x).
I am using Julia 1.6.1 and julia-vscode 1.1.40.