]> matita.cs.unibo.it Git - helm.git/blobdiff - helm/software/components/ng_refiner/nCicUnifHint.ml
fixed coercion mechanism w.r.t. undo/require
[helm.git] / helm / software / components / ng_refiner / nCicUnifHint.ml
index 9f349ba6bbbfce24ede8364ea1ab1045f313eb2d..ce88085521c2ddabda8d96069f9fba79bb90a876 100644 (file)
@@ -36,13 +36,18 @@ exception HintNotValid
 
 let skel_dummy = NCic.Implicit `Type;;
 
+class type g_status =
+ object
+  method uhint_db: db
+ end
+
 class status =
  object
   val db = HDB.empty, EQDB.empty
   method uhint_db = db
   method set_uhint_db v = {< db = v >}
   method set_unifhint_status
-   : 'status. < uhint_db : db; .. > as 'status -> 'self
+   : 'status. #g_status as 'status -> 'self
    = fun o -> {< db = o#uhint_db >}
  end