Remove redundant debug code
authorsimonpj@microsoft.com <unknown>
Tue, 1 Jun 2010 15:41:51 +0000 (15:41 +0000)
committersimonpj@microsoft.com <unknown>
Tue, 1 Jun 2010 15:41:51 +0000 (15:41 +0000)
compiler/coreSyn/CoreUnfold.lhs

index e73e4b0..0a398d1 100644 (file)
@@ -1265,11 +1265,7 @@ exprIsConApp_maybe id_unf expr
        = Nothing
 
     beta fun pairs args
-        = case analyse (substExpr (text "subst-expr-is-con-app") subst fun) args of
-           Nothing  -> -- pprTrace "Bale out! exprIsConApp_maybe" doc $
-                       Nothing
-           Just ans -> -- pprTrace "Woo-hoo! exprIsConApp_maybe" doc $
-                        Just ans
+        = analyse (substExpr (text "subst-expr-is-con-app") subst fun) args
         where
           subst = mkOpenSubst (mkInScopeSet (exprFreeVars fun)) pairs
          -- doc = vcat [ppr fun, ppr expr, ppr pairs, ppr args]