]> matita.cs.unibo.it Git - helm.git/blobdiff - helm/gTopLevel/proofEngine.ml
first moogle template checkin
[helm.git] / helm / gTopLevel / proofEngine.ml
index 1d6ce4f203dc6d9a6211e808056ff9c3513b2a09..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,[])
@@ -61,7 +62,7 @@ let apply_tactic ~tactic =
   | None,_
   | _,None -> assert false
   | Some proof', Some goal' ->
-     let (newproof, newgoals) = tactic ~status:(proof', goal') in
+     let (newproof, newgoals) = tactic (proof', goal') in
       set_proof (Some newproof);
       goal :=
        (match newgoals, newproof with