Add traceTc in tcSimplifyDefault
authorsimonpj@microsoft.com <unknown>
Wed, 10 Oct 2007 12:39:33 +0000 (12:39 +0000)
committersimonpj@microsoft.com <unknown>
Wed, 10 Oct 2007 12:39:33 +0000 (12:39 +0000)
compiler/typecheck/TcSimplify.lhs

index b771502..30718c2 100644 (file)
@@ -2890,7 +2890,7 @@ tcSimplifyDefault theta
     if null irreds then
        returnM ()
     else
-       failM
+       traceTc (ptext SLIT("tcSimplifyDefault failing")) >> failM
   where
     doc = ptext SLIT("default declaration")
 \end{code}