]> matita.cs.unibo.it Git - helm.git/commitdiff
Revert of the previous situation: when an identifier has no universe all the
authorClaudio Sacerdoti Coen <claudio.sacerdoticoen@unibo.it>
Thu, 20 Jul 2006 15:17:46 +0000 (15:17 +0000)
committerClaudio Sacerdoti Coen <claudio.sacerdoticoen@unibo.it>
Thu, 20 Jul 2006 15:17:46 +0000 (15:17 +0000)
passes that does not use the library are doomed to fail and the user will
be asked how to instantiate everyn identifier (not withstanding performances).
Now if an identifier has no universe we look for its interpretations in the
library.

components/cic_disambiguation/disambiguate.ml

index 85f05aa1c8700048224840ed34f262f21e0e29f8..645ad57accf85ec211859a23f6954fb1ca494c57 100644 (file)
@@ -833,7 +833,7 @@ let refine_profiler = HExtlib.profile "disambiguate_thing.refine_thing"
                     | item -> item
                   in
                   Environment.find item e
-                with Not_found -> [])
+                with Not_found -> lookup_in_library ())
           in
           choices
       in