You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If you are running parser 2.2.0.4 or 2.2.2.0, running rubocop --format=emacs against the following results in a single error that spans multiple lines:
(/ world # Some comment containing a )/x)
~/src/test.rb:1:2: E: unmatched close parenthesis: /
world # Some comment containing a )
/
I've filed whitequark/parser#190 with the parser gem for the parsing problem, but it seems like Rubocop shouldn't ever have error messages that span multiple lines when using --format=emacs? Or are my expectations not valid here?
The text was updated successfully, but these errors were encountered:
I think they are valid and that it wouldn't hurt to remove line breaks from Parser's diagnostic messages before outputting them, just in case there are any.
If you are running
parser
2.2.0.4 or 2.2.2.0, runningrubocop --format=emacs
against the following results in a single error that spans multiple lines:I've filed whitequark/parser#190 with the
parser
gem for the parsing problem, but it seems like Rubocop shouldn't ever have error messages that span multiple lines when using--format=emacs
? Or are my expectations not valid here?The text was updated successfully, but these errors were encountered: