]> matita.cs.unibo.it Git - helm.git/blobdiff - helm/software/components/lexicon/lexiconEngine.ml
Tracing mechanism for auto. Interface changed to solve an ambiguity between
[helm.git] / helm / software / components / lexicon / lexiconEngine.ml
index 0bf40e234f68ee2fc54fd1b2956fb952c74f6a88..39d95a7f2cd02c5f503390286c502a08e7e09d08 100644 (file)
@@ -53,13 +53,12 @@ class type g_status =
  end
 
 class status =
- object
+ object(self)
   val lstatus = initial_status
   method lstatus = lstatus
   method set_lstatus v = {< lstatus = v >}
-  method set_lexicon_engine_status
-   : 'status. #g_status as 'status -> 'self
-   = fun o -> {< lstatus = o#lstatus >}
+  method set_lexicon_engine_status : 'status. #g_status as 'status -> 'self
+   = fun o -> self#set_lstatus o#lstatus
  end
 
 let dump_aliases out msg status =