C.CoFix (i, liftedfl)
in
function
- C.Constant (name,bo,ty,params) ->
+ C.Constant (name,bo,ty,params,attrs) ->
let bo' =
match bo with
None -> None
in
let ty' = restore_in_term ty in
let params' = List.map recons params in
- C.Constant (name, bo', ty', params')
- | C.CurrentProof (name,conjs,bo,ty,params) ->
+ C.Constant (name, bo', ty', params',attrs)
+ | C.CurrentProof (name,conjs,bo,ty,params,attrs) ->
let conjs' =
List.map
(function (i,hyps,ty) ->
let bo' = restore_in_term bo in
let ty' = restore_in_term ty in
let params' = List.map recons params in
- C.CurrentProof (name, conjs', bo', ty', params')
- | C.Variable (name,bo,ty,params) ->
+ C.CurrentProof (name, conjs', bo', ty', params',attrs)
+ | C.Variable (name,bo,ty,params,attrs) ->
let bo' =
match bo with
None -> None
in
let ty' = restore_in_term ty in
let params' = List.map recons params in
- C.Variable (name, bo', ty', params')
- | C.InductiveDefinition (tl,params,paramsno) ->
+ C.Variable (name, bo', ty', params',attrs)
+ | C.InductiveDefinition (tl,params,paramsno,attrs) ->
let params' = List.map recons params in
let tl' =
List.map (function (name, inductive, ty, constructors) ->
constructors))
tl
in
- C.InductiveDefinition (tl', params', paramsno)
+ C.InductiveDefinition (tl', params', paramsno, attrs)
;;
let empty () =
let add_type_checked_term uri (obj,ugraph) =
match obj with
- Cic.Constant (s,(Some bo),ty,ul) ->
+ Cic.Constant (s,(Some bo),ty,ul,_) ->
Cache.add_cooked ~key:uri (obj,ugraph)
| _ ->
assert false