tonyhffong / Lint.jl

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

"w-" prevents the linter from linting the rest of the file #238

Closed gdkrmr closed 7 years ago

gdkrmr commented 7 years ago

Tested in emacs and atom:

screenshot from 2017-07-28 11-08-14

gdkrmr commented 7 years ago

if w - is on a line itself, it works fine

TotalVerb commented 7 years ago

This is a syntax error, isn't it? The other issues are errors, but the syntax is valid, so Lint continues. Syntax errors are considered fatal and stop linting.

The reason w - on a line by itself works fine is that it will continue reading until the next identifier.

w -
x

is syntactically valid.

gdkrmr commented 7 years ago

this is a feature ;-)