Skip to content

Commit edcb9de

Browse files
committed
fix Unariser
1 parent a12ec8e commit edcb9de

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

gibbon-compiler/src/Gibbon/Passes/Unariser.hs

+2-2
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@ unariser Prog{ddefs,fundefs,mainExp} = do
7777
-- perform, from left to right.
7878
type ProjStack = [Int]
7979

80-
unariserExp :: Bool -> DDefs Ty3 -> ProjStack -> Env2 Ty3 -> Exp3 -> PassM Exp3
80+
unariserExp :: Bool -> DDefs Ty3 -> ProjStack -> Env2 Var Ty3 -> Exp3 -> PassM Exp3
8181
unariserExp isTerminal ddfs stk env2 ex =
8282
case ex of
8383
LetE (v,locs,ty,rhs) bod ->
@@ -232,7 +232,7 @@ unariserExp isTerminal ddfs stk env2 ex =
232232

233233

234234
-- | Flatten nested tuples
235-
flattenProd :: DDefs Ty3 -> ProjStack -> Env2 Ty3 -> Exp3 -> PassM Exp3
235+
flattenProd :: DDefs Ty3 -> ProjStack -> Env2 Var Ty3 -> Exp3 -> PassM Exp3
236236
flattenProd ddfs stk env2 ex =
237237
case ex of
238238
MkProdE{} -> do

0 commit comments

Comments
 (0)