Commit 9c446286 authored by Sylvain Dailler's avatar Sylvain Dailler

itp_server: make attempt on detached goal appear detached

This prevents having valid proof attempt under detached goals in the IDE.
parent 11b0ea10
......@@ -720,13 +720,16 @@ end
| APa pa ->
let pa = get_proof_attempt_node s pa in
let obs = pa.proof_obsolete in
let detached = get_node_detached node in
let appear_obs = obs || detached in
let limit = pa.limit in
let res =
match pa.Session_itp.proof_state with
| Some pa -> Done pa
| _ -> Undone
P.notify (Node_change (new_id, Proof_status_change(res, obs, limit)))
P.notify (Node_change (new_id,
Proof_status_change(res, appear_obs, limit)))
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment