Fix a couple of issues with :print
authorpepe <unknown>
Thu, 18 Sep 2008 12:21:33 +0000 (12:21 +0000)
committerpepe <unknown>
Thu, 18 Sep 2008 12:21:33 +0000 (12:21 +0000)
commitdecbb181cf7a06c6135ca451307a7e7214385f2e
tree542e67aeb570b0bfb4fd6c0e90dda88b9dd03799
parentf0338529f1c7a4793ec376851300d55fb3f1dc6b
Fix a couple of issues with :print

      - Ticket #1995: Unsoundness with newtypes
      - Ticket #2475: "Can't unify" error when stopped at an exception

      In addition this patch adds the following:

      - Unfailingness: RTTI cannot panic anymore.
        In case of failure, it recovers gracefully by returning the "I know nothing" type
      - A -ddump-rtti flag
compiler/ghci/Debugger.hs
compiler/ghci/RtClosureInspect.hs
compiler/main/DynFlags.hs
compiler/main/GHC.hs
compiler/main/HscTypes.lhs
compiler/main/InteractiveEval.hs