]> matita.cs.unibo.it Git - helm.git/commitdiff
Bug fixed: a number alias Num 0 now subsumes the case Num n for each n.
authorClaudio Sacerdoti Coen <claudio.sacerdoticoen@unibo.it>
Mon, 25 Sep 2006 14:04:33 +0000 (14:04 +0000)
committerClaudio Sacerdoti Coen <claudio.sacerdoticoen@unibo.it>
Mon, 25 Sep 2006 14:04:33 +0000 (14:04 +0000)
components/cic_disambiguation/disambiguateTypes.ml

index a360dde384dfd87655864467bcbd8211beb0ab08..8263fd3152b8c2c05bb13e7ce25c64e36f53d8c1 100644 (file)
@@ -60,6 +60,9 @@ struct
       Symbol (sym,n) ->
        (try find k env
         with Not_found -> find (Symbol (sym,0)) env)
+    | Num n ->
+       (try find k env
+        with Not_found -> find (Num 0) env)
     | _ -> find k env
 
   let cons k v env =