aboutsummaryrefslogtreecommitdiff
path: root/ide
diff options
context:
space:
mode:
authorJim Fehrle2018-11-27 14:41:22 -0800
committerJim Fehrle2018-12-10 16:10:09 -0800
commitec7ff743b42e9549519d556d36cf770802a6912f (patch)
treed904c7001f3f4d3527054c94102b58b617976a11 /ide
parent10b07a187522b74bbcc9355d3ff9c4153f300706 (diff)
Treat unmatched goals as new for diffs (highlighted)
Improve debug output
Diffstat (limited to 'ide')
-rw-r--r--ide/idetop.ml2
1 files changed, 1 insertions, 1 deletions
diff --git a/ide/idetop.ml b/ide/idetop.ml
index a2b85041e8..ea7c208314 100644
--- a/ide/idetop.ml
+++ b/ide/idetop.ml
@@ -219,7 +219,7 @@ let goals () =
| Some oldp ->
let (_,_,_,_,osigma) = Proof.proof oldp in
(try Some { it = Evar.Map.find ng diff_goal_map; sigma = osigma }
- with Not_found -> raise (Pp_diff.Diff_Failure "Unable to match goals between old and new proof states (6)"))
+ with Not_found -> None) (* will appear as a new goal *)
| None -> None
in
let (hyps_pp_list, concl_pp) = Proof_diffs.diff_goal_ide og_s ng nsigma in