|
Bug in codeGen/CgRetConv.lhs: msg#00019lang.haskell.glasgow.bugs
Hello! GHC nicely asked me to report the bug, so here it goes :) Compiling this code in GHC 5.04.1 and 5.04.2 {-# OPTIONS -fglasgow-exts #-} module Bug where type T a = Int -> (# Int, Int #) f :: T a -> T a f t = \x -> case t x of r -> r brings the following error message: ghc-5.04.1: panic! (the `impossible' happened, GHC version 5.04.1): codeGen/CgRetConv.lhs:83: Non-exhaustive patterns in function dataReturnConvPrim Please report it as a compiler bug to glasgow-haskell-bugs@xxxxxxxxxxx, or http://sourceforge.net/projects/ghc/. PS. Orignal code what a bit more complicated - this is the simplified version. Best regards, Tom -- .signature: Too many levels of symbolic links
|
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| Previous by Date: | [ ghc-Bugs-655400 ] Header files from f.i. not propagated to non-local inlining, SourceForge.net |
|---|---|
| Next by Date: | [ ghc-Bugs-668705 ] hsc2hs broken under Win32, SourceForge.net |
| Previous by Thread: | Small bug in Data.PackedString.splitWithPS, Tomasz Zielonka |
| Next by Thread: | [ ghc-Bugs-668705 ] hsc2hs broken under Win32, SourceForge.net |
| Indexes: | [Date] [Thread] [Top] [All Lists] |
| News | FAQ | advertise |