aboutsummaryrefslogtreecommitdiff
path: root/vernac/comSearch.ml
diff options
context:
space:
mode:
authorPierre-Marie Pédrot2021-03-30 14:02:16 +0200
committerPierre-Marie Pédrot2021-03-30 14:02:16 +0200
commitf0c6a1de3eef85ab0787be7e87cb8509e8df43d5 (patch)
tree05f3cc7ece9e0a77f841b37a12db909ff6362be0 /vernac/comSearch.ml
parent303afeab9c946bdba15e1984231ae5066bf37af6 (diff)
parentd9c80dadd353bd8b0eb90ce290048a2538f1a41a (diff)
Merge PR #13958: [recordops] complete API rewrite; the module is now called [structures]
Reviewed-by: SkySkimmer Reviewed-by: ejgallego Ack-by: herbelin Reviewed-by: ppedrot
Diffstat (limited to 'vernac/comSearch.ml')
-rw-r--r--vernac/comSearch.ml4
1 files changed, 2 insertions, 2 deletions
diff --git a/vernac/comSearch.ml b/vernac/comSearch.ml
index 1b811f3db7..39520a68ec 100644
--- a/vernac/comSearch.ml
+++ b/vernac/comSearch.ml
@@ -41,8 +41,8 @@ let kind_searcher = Decls.(function
Inr (fun gr -> List.exists (fun c -> GlobRef.equal c.Coercionops.coe_value gr &&
(k' <> SubClass && k' <> IdentityCoercion || c.Coercionops.coe_is_identity)) coercions)
| IsDefinition CanonicalStructure ->
- let canonproj = Recordops.canonical_projections () in
- Inr (fun gr -> List.exists (fun c -> GlobRef.equal (snd c).Recordops.o_ORIGIN gr) canonproj)
+ let canonproj = Structures.CSTable.entries () in
+ Inr (fun gr -> List.exists (fun c -> GlobRef.equal c.Structures.CSTable.solution gr) canonproj)
| IsDefinition Scheme ->
let schemes = DeclareScheme.all_schemes () in
Inr (fun gr -> Indset.exists (fun c -> GlobRef.equal (GlobRef.IndRef c) gr) schemes)