diff options
Diffstat (limited to 'plugins/xml')
-rw-r--r-- | plugins/xml/proof2aproof.ml | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/plugins/xml/proof2aproof.ml b/plugins/xml/proof2aproof.ml index 9d3288d83..35a90cd02 100644 --- a/plugins/xml/proof2aproof.ml +++ b/plugins/xml/proof2aproof.ml @@ -63,8 +63,7 @@ let nf_evar sigma ~preserve = (* Warning: statuses, goals, prim_rules and tactic_exprs are not unshared! *) let rec unshare_proof_tree = let module PT = Proof_type in - function {PT.open_subgoals = status ; - PT.goal = goal ; + function {PT.goal = goal ; PT.ref = ref} -> let unshared_ref = match ref with @@ -78,8 +77,7 @@ let rec unshare_proof_tree = in Some (unshared_rule, List.map unshare_proof_tree pfs) in - {PT.open_subgoals = status ; - PT.goal = goal ; + {PT.goal = goal ; PT.ref = unshared_ref} ;; |