Fix lambdalifter closure in case
This commit is contained in:
parent
0aebe4a7b1
commit
30c59596c7
1 changed files with 1 additions and 1 deletions
|
|
@ -106,7 +106,7 @@ freeVarsBranch localVars (Branch pt e) =
|
|||
, term = ABranch pt annae
|
||||
}
|
||||
where
|
||||
annae = freeVarsExp localVars e
|
||||
annae = freeVarsExp (localVars <|| varsInPattern) e
|
||||
varsInPattern = go [] pt
|
||||
where
|
||||
go acc (p, t) = case p of
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue