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

Wrong unused argument warning if argument is named `type`

Open kryptan opened this issue 3 years ago • 0 comments

This code:

function p(type)
    println("$type")
end

gives "An argument is included in a function signature but not used within its body".

image

kryptan avatar Feb 10 '22 02:02 kryptan