Skip to content

Commit

Permalink
Merge pull request #1041 from actonlang/1040-fix-cps-glitch
Browse files Browse the repository at this point in the history
Added missing type conversion. (Shortest diff ever?)
  • Loading branch information
nordlander authored Nov 4, 2022
2 parents 8b40a3e + f35e042 commit f62e8c3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion compiler/Acton/CPS.hs
Original file line number Diff line number Diff line change
Expand Up @@ -299,7 +299,7 @@ instance CPS Decl where
| contFX fx = do b' <- cpsSuite env1 b
return $ Def l n q' (addContPar env dec p' fx t') KwdNIL (Just tR) b' dec fx
| otherwise = return $ Def l n q' p' KwdNIL (Just t') (conv b) dec fx
where env1 = define (envOf p) $ defineTVars q $ Meth contKW t +: setDefCtxt env
where env1 = define (envOf p) $ defineTVars q $ Meth contKW t' +: setDefCtxt env
q' = conv q
p' = conv p
t' = conv t
Expand Down

0 comments on commit f62e8c3

Please sign in to comment.