]> matita.cs.unibo.it Git - helm.git/blobdiff - matita/components/ng_refiner/nCicRefiner.ml
Fixes r11788 (partial, thus broken commit).
[helm.git] / 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