)
| C.Var (uri,exp_named_subst) as t ->
let o,_ =
- CicEnvironment.get_cooked_obj ~trust:false uri CicUniv.empty_ugraph
+ CicEnvironment.get_cooked_obj ~trust:false CicUniv.empty_ugraph uri
in
(match o with
C.Constant _ -> raise ReferenceToConstant
| C.Appl [] -> raise (Impossible 1)
| C.Const (uri,exp_named_subst) as t ->
let o,_ =
- CicEnvironment.get_cooked_obj ~trust:false uri CicUniv.empty_ugraph
+ CicEnvironment.get_cooked_obj ~trust:false CicUniv.empty_ugraph uri
in
(match o with
C.Constant (_,Some body,_,_) ->
C.MutConstruct (_,_,j,_) -> whdaux l (List.nth pl (j-1))
| C.Appl (C.MutConstruct (_,_,j,_) :: tl) ->
let (arity, r) =
- let o,_ = CicEnvironment.get_obj mutind CicUniv.empty_ugraph in
+ let o,_ = CicEnvironment.get_obj CicUniv.empty_ugraph mutind in
match o with
C.InductiveDefinition (tl,ingredients,r) ->
let (_,_,arity,_) = List.nth tl i in