aboutsummaryrefslogtreecommitdiff
path: root/vernac
diff options
context:
space:
mode:
authorEnrico Tassi2019-04-01 13:32:56 +0200
committerEnrico Tassi2019-04-01 13:32:56 +0200
commit606aa700cc258ceb01abbead42d38ef2e31ad6cd (patch)
treed1aea8e9a50feb0c398c9eda2b0145291768ab26 /vernac
parentd16633368ba33d05bcae3e98b1e05efc5f530206 (diff)
parent7df2d5bb117259b3af15c865903b05ee3a1f083e (diff)
Merge PR #9870: Minor refactoring in canonical structures
Reviewed-by: Zimmi48 Reviewed-by: gares Reviewed-by: ppedrot
Diffstat (limited to 'vernac')
-rw-r--r--vernac/record.ml2
1 files changed, 1 insertions, 1 deletions
diff --git a/vernac/record.ml b/vernac/record.ml
index 23274040b0..cb67548667 100644
--- a/vernac/record.ml
+++ b/vernac/record.ml
@@ -443,7 +443,7 @@ let declare_structure ~cum finite ubinders univs paramimpls params template ?(ki
let kinds,sp_projs = declare_projections rsp ctx ~kind binder_name.(i) coers fieldimpls fields in
let build = ConstructRef cstr in
let () = if is_coe then Class.try_add_new_coercion build ~local:false poly in
- let () = Recordops.declare_structure(rsp,cstr,List.rev kinds,List.rev sp_projs) in
+ let () = Recordops.declare_structure(cstr, List.rev kinds, List.rev sp_projs) in
rsp
in
List.mapi map record_data