diff options
| author | charguer | 2017-12-19 16:13:35 +0100 |
|---|---|---|
| committer | Maxime Dénès | 2018-03-09 13:31:09 +0100 |
| commit | 22bf4efd61b916abc81e41bbe70428e534dd0013 (patch) | |
| tree | 803601e880aab218321c8c101bb12e2c6d78e3dc /vernac/class.ml | |
| parent | 2069c0aec44a50031e33bcb9f7d86c1535ef6b84 (diff) | |
allow Prop as source for coercions
Diffstat (limited to 'vernac/class.ml')
| -rw-r--r-- | vernac/class.ml | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/vernac/class.ml b/vernac/class.ml index cc676af1b4..59d9331087 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)) | _ -> () (* |
