tonyhffong / Lint.jl

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

Macros with optional arguments #219

Closed theinze closed 7 years ago

theinze commented 7 years ago

There seems to be a spurious error for optional arguments in macros ?

julia> lintstr("macro foo(x, y) end")
0-element Array{Lint.LintMessage,1}

julia> lintstr("macro foo(x, y=100) end")
1-element Array{Lint.LintMessage,1}:
 none:1 E136 y=100: Lint does not understand macro