|
[GHC] #875: assert fails on HEAD: msg#00158lang.haskell.glasgow.bugs
#875: assert fails on HEAD -------------------------+-------------------------------------------------- Reporter: guest | Owner: Type: bug | Status: new Priority: normal | Milestone: Component: Compiler | Version: 6.5 Severity: normal | Keywords: Os: Unknown | Difficulty: Easy (1 hr) Architecture: Unknown | -------------------------+-------------------------------------------------- Example of failure {{{ [andy@thunderegg should_run]$ cat dsrun014.hs module Main where import Control.Exception ( assert ) main = assert "Hello" True $ print "World" [andy@thunderegg should_run]$ $GHC66 dsrun014.hs dsrun014.hs:5:7: Couldn't match expected type `GHC.Prim.Addr#' against inferred type `[Char]' In the first argument of `GHC.Err.assertError', namely `"dsrun014.hs:5:7-12"' In the call (GHC.Err.assertError "dsrun014.hs:5:7-12" "Hello" True) In the first argument of `($)', namely `GHC.Err.assertError "dsrun014.hs:5:7-12" "Hello" True' }}} -- Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/875> GHC <http://www.haskell.org/ghc/> The Glasgow Haskell Compiler_______________________________________________ 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: | Re: [GHC] #874: SEGFAULT in stg_ap_ppp_info(), GHC |
|---|---|
| Next by Date: | Re: weird data corruption, Frederik Eaton |
| Previous by Thread: | [GHC] #874: SEGFAULT in stg_ap_ppp_info(), GHC |
| Next by Thread: | Re: [GHC] #875: assert fails on HEAD, GHC |
| Indexes: | [Date] [Thread] [Top] [All Lists] |
| News | FAQ | advertise |