Skip to content

Rocq renaming#1139

Merged
mattam82 merged 19 commits intomainfrom
rocq-renaming
Jan 28, 2025
Merged

Rocq renaming#1139
mattam82 merged 19 commits intomainfrom
rocq-renaming

Conversation

@mattam82
Copy link
Member

WIP

yannl35133 and others added 19 commits September 3, 2024 13:37
* initial fix

* update test-suite

Co-authored-by: MathisBD <75327344+MathisBD@users.noreply.github.com>
Co-authored-by: Yannick Forster <yannick.forster@inria.fr>
Co-authored-by: Théo Winterhalter <theo.winterhalter@inria.fr>
It causes rocq-prover/vsrocq#892 because `optwrite`
is not supposed to be able to add persistent objects (libobject) to
Coq's state but `set_option_value` does add one.

It's also bugged as
`set_option_value ~stage:Interp (fun _ v -> v) key i`
sets the option to its current value not a new value.
In other words `Set MetaCoq Template Monad Debug.` has no effect but
its existence causes bugs.

Since nobody complained about it not working it's not worth fixing it
instead of deleting it (also I'm not sure it can be fixed with the
currently available APIs).
Remove bugged option MetaCoq Template Monad Debug.
Update documentation in common/Environment.ml for inductive and constant declarations
@mattam82 mattam82 merged commit 3f28a8f into main Jan 28, 2025
10 checks passed
@mattam82 mattam82 deleted the rocq-renaming branch January 28, 2025 10:15
@SkySkimmer
Copy link
Contributor

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.

8 participants