tonyhffong / Lint.jl

A lint tool for Julia code
Other
169 stars 33 forks source link

lintfile does not recognize variables in the broadcasted function #250

Open eozw opened 6 years ago

eozw commented 6 years ago

lintfile does not recognize variables in the broadcasted functions.

example.jl

function f(x)
  return exp.(x)
end

Main> lintfile("example.jl") example.jl:1 I382 x: argument declared but not used