aboutsummaryrefslogtreecommitdiff
path: root/toplevel/class.ml
diff options
context:
space:
mode:
Diffstat (limited to 'toplevel/class.ml')
-rw-r--r--toplevel/class.ml1
1 files changed, 1 insertions, 0 deletions
diff --git a/toplevel/class.ml b/toplevel/class.ml
index 4e729f4460..77b49b4bd3 100644
--- a/toplevel/class.ml
+++ b/toplevel/class.ml
@@ -218,6 +218,7 @@ let build_id_coercion idf_opt source =
DefinitionEntry
{ const_entry_body = mkCast (val_f, DEFAULTcast, typ_f);
const_entry_type = Some typ_f;
+ const_entry_polymorphic = false;
const_entry_opaque = false } in
let kn = declare_constant idf (constr_entry,IsDefinition IdentityCoercion) in
ConstRef kn