fun _ _ _ -> term)
;;
-let ncic_num_choices _ = assert false;;
+let ncic_num_choices _ = (*assert false*) [];;
let ncic_mk_choice =
DisambiguateChoices.mk_choice
~context:[] ~metasenv:[] ~subst:[]
~aliases:DisambiguateTypes.Environment.empty
~universe:(Some DisambiguateTypes.Environment.empty)
- ("",0,ty)
+ (text,prefix_len,ty)
with
| [_,metasenv,subst,ty],_ ->
prerr_endline ("NUOVA DISAMBIGUAZIONE OK!!!!!!!!! " ^
metasenv, subst,
C.Match (r, outtype, term, List.rev pl_rev),
NCicReduction.head_beta_reduce (C.Appl (outtype::arguments@[term]))
- | C.Match _ -> assert false
+ | C.Match _ as orig ->
+ prerr_endline (NCicPp.ppterm ~metasenv ~subst ~context orig);
+ assert false
in
pp (lazy (NCicPp.ppterm ~metasenv ~subst ~context t ^ " :: "^
NCicPp.ppterm ~metasenv ~subst ~context infty ));