JPMoresmau / BuildWrapper

Utility to manage haskell projects for an IDE
Other
36 stars 11 forks source link

Buildwrapper panics with Arrow syntax #23

Closed PaulJohnson closed 10 years ago

PaulJohnson commented 10 years ago

Using buildwrapper version 0.7.7 built with GHC 7.6.3 from within EclipseFP, I get a GHC panic:

buildwrapper: panic! (the 'impossible' happened) (GHC version 7.6.3 for x86_64-unknown-linux): dsExpr:HsDo

Please report this as a GHC bug: http://www.haskell.org/ghc/reportabug

Unfortunately I can't attach a cabal project to this bug report, but the module in question is at http://pastebin.com/fF1q57mM. To reproduce the bug, add this module to a Haskell project in Eclipse.

I haven't reported it to GHC as the offending module compiles fine from the command line.

JPMoresmau commented 10 years ago

Mmmhh, it's very dubious, it is actually the GHC API throwing a tantrum when we go down the parse tree to get types of expressions. We're now catching the panics so that the arrow syntax doesn't stop the rest