Too agressive breakpoint coalescing politics
authorPepe Iborra <mnislaih@gmail.com>
Thu, 11 Jan 2007 17:25:55 +0000 (17:25 +0000)
committerPepe Iborra <mnislaih@gmail.com>
Thu, 11 Jan 2007 17:25:55 +0000 (17:25 +0000)
compiler/deSugar/DsBreakpoint.lhs

index b0e7265..eac7e48 100644 (file)
@@ -126,7 +126,7 @@ isInstrumentationSpot (L loc e) = do
 
 isRedundant HsLet  {} = True
 isRedundant HsDo   {} = True
-isRedundant HsCase {} = True
+isRedundant HsCase {} = False
 isRedundant     _     = False
 
 dynBreakpoint :: SrcSpan -> DsM (LHsExpr Id)