Commit a43af120 authored by chak@cse.unsw.edu.au.'s avatar chak@cse.unsw.edu.au.

Adapt SimplUtils.getContArgs to conditional SubstEnv

parent 6be927fe
......@@ -246,7 +246,9 @@ getContArgs chkr fun orig_cont
where
args = reverse acc
hole_ty = applyTypeToArgs (Var fun) (idType fun)
[substExpr se arg | (arg,se,_) <- args]
[substExpr_mb se arg | (arg,se,_) <- args]
substExpr_mb Nothing arg = arg
substExpr_mb (Just se) arg = substExpr se arg
----------------------------
vanilla_stricts, computed_stricts :: [Bool]
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment