Skip to content

Common Errors: HLint

patrick brisbin edited this page May 23, 2019 · 1 revision

parse error on input \8216@\8217

If the HLint restyler fails, and a message like the following is visible:

refactor: (RealSrcSpan SrcSpanOneLine "./src/Something.hs" 12 33 34,"parse error on input \8216@\8217")
CallStack (from HasCallStack):
  error, called at src/Refact/Run.hs:190:22 in main:Refact.Run

This is because the module contains TypeApplications, which apply-refact can't handle.

Unfortunately, the only workaround is to exclude the file from Restyler.

Clone this wiki locally