]> matita.cs.unibo.it Git - helm.git/commitdiff
Fixes r11788 (partial, thus broken commit).
authorWilmer Ricciotti <ricciott@cs.unibo.it>
Wed, 11 Jan 2012 10:45:07 +0000 (10:45 +0000)
committerWilmer Ricciotti <ricciott@cs.unibo.it>
Wed, 11 Jan 2012 10:45:07 +0000 (10:45 +0000)
matita/components/ng_refiner/nCicRefiner.ml

index a59a6fd359109202b3c8aed7c39efcaf1c6e3339..563fe392858b4f09ca26158bbcdd1c87e1290085 100644 (file)
@@ -915,7 +915,7 @@ and force_to_sort status metasenv subst context t orig_t localise ty =
            " is not a sort: " ^ status#ppterm ~metasenv ~subst ~context ty)) in
         let ty = NCicReduction.whd status ~subst context ty in
         let exn =
-         if NCicUnification.could_reduce ty then
+         if NCicUnification.could_reduce status ~subst context ty then
           Uncertain msg
          else
           RefineFailure msg