let o, _ = CicEnvironment.get_obj CicUniv.oblivion_ugraph u in
let l = OCic2NCic.convert_obj u o in
List.iter
- (fun o ->
+ (fun (u,_,_,_,_ as o) ->
+ prerr_endline ("CHECK: " ^ NUri.string_of_uri u);
try NCicTypeChecker.typecheck_obj o
with
| NCicTypeChecker.AssertFailure s
- | NCicTypeChecker.TypeCheckerFailure s -> prerr_endline (Lazy.force s))
+ | NCicTypeChecker.TypeCheckerFailure s -> prerr_endline (Lazy.force s)
+ (*| CicEnvironment.Object_not_found s ->
+ prerr_endline ("Obj not found: " ^ UriManager.string_of_uri s)*))
l
;;