From 22bf4efd61b916abc81e41bbe70428e534dd0013 Mon Sep 17 00:00:00 2001 From: charguer Date: Tue, 19 Dec 2017 16:13:35 +0100 Subject: allow Prop as source for coercions --- vernac/class.ml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'vernac/class.ml') diff --git a/vernac/class.ml b/vernac/class.ml index cc676af1b..59d933108 100644 --- a/vernac/class.ml +++ b/vernac/class.ml @@ -225,7 +225,7 @@ let build_id_coercion idf_opt source poly = ConstRef kn let check_source = function -| Some (CL_FUN|CL_SORT as s) -> raise (CoercionError (ForbiddenSourceClass s)) +| Some (CL_FUN as s) -> raise (CoercionError (ForbiddenSourceClass s)) | _ -> () (* -- cgit v1.2.3