X-Git-Url: https://git.stderr.nl/gitweb?p=matthijs%2Fmaster-project%2Fc%CE%BBash.git;a=blobdiff_plain;f=clash%2FCLasH%2FNormalize%2FNormalizeTools.hs;h=0652081760d8f646a19823343a95e84c10bf665e;hp=307795634463313631079e0ed058669a9745f227;hb=bebe01ce76e62bea88aba87d5cceecfab7a0c6c4;hpb=db856c9442e721689a566c6f91e8763f075e7da5 diff --git a/clash/CLasH/Normalize/NormalizeTools.hs b/clash/CLasH/Normalize/NormalizeTools.hs index 3077956..0652081 100644 --- a/clash/CLasH/Normalize/NormalizeTools.hs +++ b/clash/CLasH/Normalize/NormalizeTools.hs @@ -113,7 +113,7 @@ subeverywhere trans c (Case scrut b t alts) = do where transalt :: CoreAlt -> TransformMonad CoreAlt transalt (con, binders, expr) = do - expr' <- trans (Other:c) expr + expr' <- trans ((CaseAlt b):c) expr return (con, binders, expr') subeverywhere trans c (Var x) = return $ Var x