VarVarBind: fix non-transitivity
This commit is contained in:
parent
0a4d788513
commit
b1e82638b2
1 changed files with 1 additions and 1 deletions
|
@ -27,7 +27,7 @@ let rec clean_term map_env = function
|
|||
clean_value map_env value,
|
||||
clean_term map_env next)
|
||||
| S.LetVal (name, S.VVar subVar, next) ->
|
||||
clean_term (Env.add name subVar map_env) next
|
||||
clean_term (Env.add name (clean_var map_env subVar) map_env) next
|
||||
| S.LetVal (name, value, next) ->
|
||||
S.LetVal (name, value, clean_term map_env next)
|
||||
| S.LetBlo (name, S.Con(tag, args), next) ->
|
||||
|
|
Loading…
Reference in a new issue