Dont print "Constraint solver steps = n" if -dno-debug-output is on
[ghc-hetmet.git] / compiler / typecheck / TcSMonad.lhs
index cbf9330..647f22f 100644 (file)
@@ -528,7 +528,8 @@ runTcS context untouch tcs
 #ifdef DEBUG
        ; count <- TcM.readTcRef step_count
        ; when (count > 0) $
-         TcM.dumpTcRn (ptext (sLit "Constraint solver steps =") <+> int count <+> ppr context)
+         TcM.debugDumpTcRn (ptext (sLit "Constraint solver steps =") 
+                            <+> int count <+> ppr context)
 #endif
              -- And return
        ; ev_binds      <- TcM.readTcRef evb_ref