#1919: GHC 6.8.1 panics with lookupRecBndr
-----------------------------+----------------------------------------------
Reporter: BjornBuckwalter | Owner:
Type: bug | Status: new
Priority: normal | Milestone:
Component: Compiler | Version: 6.8.1
Severity: normal | Keywords:
Testcase: | Architecture: Multiple
Os: Multiple |
-----------------------------+----------------------------------------------
When building the CGS module in the [http://dimensional.googlecode.com
dimensional] library GHC 6.8.1 panics with the following message:
{{{
ghc-6.8.1: panic! (the 'impossible' happened)
(GHC version 6.8.1 for powerpc-apple-darwin):
lookupRecBndr $dSucc{v a202} [lid]
}}}
The library in general and CGS module in particular is full of type
hackery. If it is of any help `Succ` is defined in Numeric.NumType.
The same error occurs when compiling on x86/Windows so it doesn't seem to
be platform specific.
Steps to reproduce:
* Download
[http://dimensional.googlecode.com/files/dimensional-0.7.1.tar.gz
dimensional 0.7.1].
* Uncomment the Numeric.Units.Dimensional.CGS module in
dimensional.cabal.
* Use the cabal process to configure and build.
This doesn't happen in GHC 6.6.1.
--
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/1919>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
_______________________________________________
Glasgow-haskell-bugs mailing list
[email protected]
http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs