|
compiler bug in ghc-6.4 (building a class declaration with TH): msg#00023lang.haskell.glasgow.bugs
This is command and output: > ghc -fth -ddump-splices --make TestBuffers.hs Chasing modules from: TestBuffers.hs Compiling Buffers ( ./Buffers.hs, ./Buffers.o ) Compiling Main ( TestBuffers.hs, TestBuffers.o ) Loading package base-1.0 ... linking ... done. Loading package haskell98-1.0 ... linking ... done. Loading package template-haskell-1.0 ... linking ... done. TestBuffers.hs:1:0: TestBuffers.hs:1:0: Splicing declarations mkBufferClasses 12 ======> class HasZero f where { zero :: a; emptyBag } class HasOne f where {ghc-6.4: panic! (the `impossible' happened, GHC version 6.4): hsSyn/Convert.lhs:(339,8)-(350,91): Non-exhaustive patterns in function trans Please report it as a compiler bug to glasgow-haskell-bugs@xxxxxxxxxxx, or http://sourceforge.net/projects/ghc/. I attached the two (short) source files. Ben
Glasgow-haskell-bugs mailing list Glasgow-haskell-bugs@xxxxxxxxxxx http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs
|
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| Previous by Date: | ghc-pkg --global has strange semantics, Frederik Eaton |
|---|---|
| Next by Date: | memory allocation failed, David F. Place |
| Previous by Thread: | ghc-pkg --global has strange semantics, Frederik Eaton |
| Next by Thread: | memory allocation failed, David F. Place |
| Indexes: | [Date] [Thread] [Top] [All Lists] |
| News | FAQ | advertise |