aboutsummaryrefslogtreecommitdiffhomepage
path: root/vernac/class.ml
diff options
context:
space:
mode:
authorGravatar charguer <arthur@chargueraud.org>2017-12-19 16:13:35 +0100
committerGravatar Maxime Dénès <mail@maximedenes.fr>2018-03-09 13:31:09 +0100
commit22bf4efd61b916abc81e41bbe70428e534dd0013 (patch)
tree803601e880aab218321c8c101bb12e2c6d78e3dc /vernac/class.ml
parent2069c0aec44a50031e33bcb9f7d86c1535ef6b84 (diff)
allow Prop as source for coercions
Diffstat (limited to 'vernac/class.ml')
-rw-r--r--vernac/class.ml2
1 files changed, 1 insertions, 1 deletions
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))
| _ -> ()
(*