julia-vscode / StaticLint.jl

Static Code Analysis for Julia

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Wrong unused argument warning if argument is named `type`

kryptan opened this issue · 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