False warning in VSCode

ufechner7
Sun, 07 Apr 2024 10:13:23 +0000
VS Code

I have the following code:

mutable struct KiteObserver
    length::Vector{Float64}
    elevation::Vector{Float64}
end
function KiteObserver()
    KiteObserver(Float64[], Float64[])
end

I get the warning:

Possible method call error.Julia(IncorrectCallArgs)
Float64(x [, mode::RoundingMode])

Any idea why? Is it a bug? Is there a workaround?

4 posts - 3 participants