]> matita.cs.unibo.it Git - helm.git/blobdiff - helm/gTopLevel/proofEngine.ml
changed proofStatus so that uri component is optional (useful to start an
[helm.git] / helm / gTopLevel / proofEngine.ml
index 20863f1a9e366558b694e9483484b2ee279e5509..d9b6219b2d159032f13af762923a069794f7e6c8 100644 (file)
@@ -38,6 +38,7 @@ let get_current_status_as_xml () =
   match get_proof () with
      None -> assert false
    | Some (uri, metasenv, bo, ty) ->
+      let uri = match uri with Some uri -> uri | None -> assert false in
       let currentproof =
        (*CSC: Wrong: [] is just plainly wrong *)
        Cic.CurrentProof (UriManager.name_of_uri uri,metasenv,bo,ty,[])