haskell-suite / haskell-src-exts

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

Parser cannot handle case of MultiWayIf #474

Open nineonine opened 1 year ago

nineonine commented 1 year ago

Parser chokes on

if | e1
   -> ...

extra indentation fixes the issue though

if | e1
     -> ...