haskell-suite / haskell-src-exts

Manipulating Haskell source: abstract syntax, lexer, parser, and pretty-printer
Other
193 stars 94 forks source link

ExactPrint: internal error #458

Open mhusmann opened 4 years ago

mhusmann commented 4 years ago

When starting the haskell-formatter on any haskell source file I do get the following error:

haskell-formatter: haskell-src-exts: ExactPrint: internal error (non-exhaustive pattern) Location: pList This is either caused by supplying incorrect location information or by a bug in haskell-src-exts. If this happens on an unmodified AST obtained by the haskell-src-exts Parser it is a bug, please it report it at https://github.com/haskell-suite/haskell-src-exts

CallStack (from HasCallStack): error, called at src/Language/Haskell/Exts/ExactPrint.hs:2185:22 in haskell-src-exts-1.23.1-FvLIaTIGxmRVhU8jEdAAL:Language.Haskell.Exts.ExactPrint

Any hint would be welcome