Skip to content

Commit 0b658f2

Browse files
authored
Merge pull request #141 from SkySkimmer/ass-lab
Adapt to rocq-prover/rocq#21175 (pass gref to assumptions traversal)
2 parents 35d7505 + 7a511cd commit 0b658f2

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

src/declare_translation.ml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -406,10 +406,9 @@ let command_reference ~opaque_access ?(continuation = default_continuation) ?(fu
406406

407407
let command_reference_recursive ~opaque_access ?(continuation = default_continuation) ?(fullname = false) arity gref =
408408
let gref= Globnames.canonical_gr gref in
409-
let label = Names.Label.of_id (Nametab.basename_of_global gref) in
410409
(* Assumptions doesn't care about the universes *)
411410
let c, _ = UnivGen.fresh_global_instance (Global.env()) gref in
412-
let (direct, graph, _) = Assumptions.traverse opaque_access label c in
411+
let (direct, graph, _) = Assumptions.traverse opaque_access gref c in
413412
let inductive_of_constructor ref =
414413
let open Globnames in
415414
let ref= Globnames.canonical_gr ref in

0 commit comments

Comments
 (0)