Ticket #26 (closed defect: fixed)

Opened 6 years ago

Last modified 6 years ago

Control.Exception Compilation Problem in ghc 6.10.1

Reported by: dom Owned by: dom
Priority: major Milestone:
Component: component1 Version:
Keywords: Cc:

Description

Run.hs:75:6:
    Ambiguous type variable `e' in the constraint:
      `CE.Exception e'
        arising from a use of `CE.catch' at Run.hs:(75,6)-(94,90)
    Probable fix: add a type signature that fixes these type variable(s)

Change History

Changed 6 years ago by dom

  • status changed from new to closed
  • resolution set to fixed

See http://hackage.haskell.org/trac/ghc/ticket/2819 and this thread: http://www.haskell.org/pipermail/haskell-cafe/2008-November/051152.html.

-               (\e -> hPutStrLn stderr ("Problem with generating / compiling\n" ++ show e))
+               (\e -> hPutStrLn stderr ("Problem with generating / compiling\n" ++ show (e :: CE.IOException)))
Note: See TracTickets for help on using tickets.