@@ -177,9 +177,9 @@ ibc i (IBCDef n) f
178 updateSC (Case n alts) = do alts' <- mapM updateAlt alts
178 updateSC (Case n alts) = do alts' <- mapM updateAlt alts
179 return (Case n alts')
179 return (Case n alts')
180− updateSC (ProjCase t alts) = do t' <- update t
180+ updateSC (ProjCase t alt) = do t' <- update t
181− alts' <- mapM updateAlt alts
181+ alt' <- updateAlt alt
182− return (ProjCase t' alts')
182+ return (ProjCase t' alt')
183 updateSC (STerm t) = do t' <- update t
183 updateSC (STerm t) = do t' <- update t
184 return (STerm t')
184 return (STerm t')
185 updateSC t = return t
185 updateSC t = return t