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
I have a source code file which compiles and runs fine, but which crashes scalariform (called via Scalastyle).
The error includes only a Token "pos", which as far as I can tell is just the index of the current token in the array of tokens after the file was lexed. This is next to no help in diagnosing the problem, as I can't figure out which part of the file is confusing scalariform
(For anyone else who has this problem and is trying to track down what has offended scalariform, you can use head -n X MyFile.scala to find where offset "X" is in the file.)
I have a source code file which compiles and runs fine, but which crashes
scalariform
(called via Scalastyle).The error includes only a Token "pos", which as far as I can tell is just the index of the current token in the array of tokens after the file was lexed. This is next to no help in diagnosing the problem, as I can't figure out which part of the file is confusing
scalariform
My current error looks like:
It would be far more helpful if this error included a line number or a char index. A token index is next to useless AFAICT.
The text was updated successfully, but these errors were encountered: