]> matita.cs.unibo.it Git - helm.git/blobdiff - helm/software/components/ng_refiner/check.ml
better exception handling
[helm.git] / helm / software / components / ng_refiner / check.ml
index bd7f72e70b1d3040448f71290e097fc5a54f0964..2ab8185ab0e2e4725efb8f5eee309bf74852ab7c 100644 (file)
@@ -271,12 +271,7 @@ let _ =
           prerr_endline ("start: " ^ NUri.string_of_uri u);
           let bo = curryfy [] bo in
           (try 
-            let rdb = { 
-                NRstatus.uhint_db = NCicUnifHint.empty_db; 
-                NRstatus.coerc_db = NCicCoercion.empty_db;
-                NRstatus.library_db = NCicLibrary.time0;
-                NRstatus.dump = fun x -> x
-            } in 
+            let rdb = new NRstatus.status in
             let metasenv, subst, bo, infty = 
               NCicRefiner.typeof rdb [] [] [] bo None
             in