X-Git-Url: http://git.megacz.com/?a=blobdiff_plain;ds=sidebyside;f=compiler%2FdeSugar%2FDsBinds.lhs;h=5f0bdb7a605b193ab21cd638a3daea070c829e50;hb=dd99b6f8c61f393087d03cd697c06051a43ca4e9;hp=6f4b4bb216659d8813f7be7899eeb76feb74deae;hpb=e314b86f6290e5440a46cd5cc29f7878cb78c6fb;p=ghc-hetmet.git diff --git a/compiler/deSugar/DsBinds.lhs b/compiler/deSugar/DsBinds.lhs index 6f4b4bb..5f0bdb7 100644 --- a/compiler/deSugar/DsBinds.lhs +++ b/compiler/deSugar/DsBinds.lhs @@ -466,7 +466,7 @@ addDictScc _ rhs = return rhs dsCoercion :: HsWrapper -> DsM CoreExpr -> DsM CoreExpr dsCoercion WpHole thing_inside = thing_inside dsCoercion (WpCompose c1 c2) thing_inside = dsCoercion c1 (dsCoercion c2 thing_inside) -dsCoercion (WpCo co) thing_inside = do { expr <- thing_inside +dsCoercion (WpCast co) thing_inside = do { expr <- thing_inside ; return (Cast expr co) } dsCoercion (WpLam id) thing_inside = do { expr <- thing_inside ; return (Lam id expr) }