From 30a908becf31d91592a1f7934cfa3df2d67d1834 Mon Sep 17 00:00:00 2001 From: Maxime Dénès Date: Thu, 22 Sep 2016 17:11:12 +0200 Subject: Revert "Merge remote-tracking branch 'github/pr/283' into trunk" I hadn't realized that this PR uses OCaml's 4.03 inlined records feature. I will advocate again for a switch to the latest OCaml stable version, but meanwhile, let's revert. Sorry for the noise. This reverts commit 3c47248abc27aa9c64120db30dcb0d7bf945bc70, reversing changes made to ceb68d1d643ac65f500e0201f61e73cf22e6e2fb. --- library/kindops.ml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'library/kindops.ml') diff --git a/library/kindops.ml b/library/kindops.ml index 3d737e5ac..21b1bec33 100644 --- a/library/kindops.ml +++ b/library/kindops.ml @@ -24,9 +24,9 @@ let string_of_theorem_kind = function | Corollary -> "Corollary" let string_of_definition_kind def = - let locality = def.locality in + let (locality, poly, kind) = def in let error () = CErrors.anomaly (Pp.str "Internal definition kind") in - match def.object_kind with + match kind with | Definition -> begin match locality with | Discharge -> "Let" -- cgit v1.2.3