some unnecessary loops in the module dependency graph.
\begin{code}
+{-# OPTIONS -w #-}
+-- The above warning supression flag is a temporary kludge.
+-- While working on this module you are encouraged to remove it and fix
+-- any warnings in the module. See
+-- http://hackage.haskell.org/trac/ghc/wiki/Commentary/CodingStyle#Warnings
+-- for details
+
module Panic
(
GhcException(..), showGhcException, ghcError, progName,
\begin{code}
panic, pgmError :: String -> a
-panic x = Exception.throwDyn (Panic x)
+panic x = trace ("Panic (" ++ x ++ ")") (Exception.throwDyn (Panic x))
pgmError x = Exception.throwDyn (ProgramError x)
-- #-versions because panic can't return an unboxed int, and that's