Skip to content

Adapt to rocq-prover/rocq#21987 (secvar status)#719

Merged
ppedrot merged 1 commit into
rocq-prover:mainfrom
SkySkimmer:context-secvar
Jun 1, 2026
Merged

Adapt to rocq-prover/rocq#21987 (secvar status)#719
ppedrot merged 1 commit into
rocq-prover:mainfrom
SkySkimmer:context-secvar

Conversation

@SkySkimmer

Copy link
Copy Markdown
Contributor

No description provided.

Comment thread src/syntax.ml
Comment on lines +455 to +459
List.fold_right (fun d env ->
(* WTF HACK FIXME *)
if Environ.mem_named (Context.Named.Declaration.get_id d) env then env
else Environ.push_named ProofVar d env)
nctx env

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

not sure wtf is going on here but it seems equations is pushing an already taken name
this is already the case in master but breaks more stuff in rocq-prover/rocq#21987 so I put in a hack to avoid the double pushing

@gares

gares commented Jun 1, 2026

Copy link
Copy Markdown
Member

please merge

@ppedrot ppedrot marked this pull request as ready for review June 1, 2026 19:32
@ppedrot ppedrot merged commit c42c597 into rocq-prover:main Jun 1, 2026
3 of 5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants