remaining_dom new_univ)
| Uncertain (loc,msg),new_univ ->
(match remaining_dom with
- | [] -> [], [diff,loc,msg]
+ | [] -> [], [new_diff,loc,msg]
| _ ->
aux new_env new_diff lookup_in_todo_dom
remaining_dom new_univ)
- | Ko (loc,msg),_ -> [], [diff,loc,msg])
+ | Ko (loc,msg),_ -> [], [new_diff,loc,msg])
| _::_ ->
let rec filter univ = function
| [] -> [],[]
filter univ tl
| Uncertain (loc,msg),new_univ ->
(match remaining_dom with
- | [] -> [],[diff,loc,msg]
+ | [] -> [],[new_diff,loc,msg]
| _ -> aux new_env new_diff None remaining_dom new_univ
) @@
filter univ tl
- | Ko (loc,msg),_ -> ([],[diff,loc,msg]) @@ filter univ tl)
+ | Ko (loc,msg),_ -> ([],[new_diff,loc,msg]) @@ filter univ tl)
in
filter base_univ choices
in