Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error: Anomaly "Evar ?X40 was not declared." when running template programs with holes which involve tmDefinition #862

Open
JasonGross opened this issue Feb 28, 2023 · 0 comments

Comments

@JasonGross
Copy link
Contributor

From Coq Require Import Lists.List.
From MetaCoq.Utils Require Import bytestring monad_utils.
From MetaCoq.Template Require Import TemplateMonad Ast Loader.

Local Open Scope bs.
Import MCMonadNotation.
Import ListNotations.
MetaCoq Run (let ct := tConst (MPfile ["Logic"; "Init"; "Coq"], "proj1") [] in
             ' {| my_projT1 := cty; my_projT2 := cv |} <- tmUnquote ct;;
             tmDefinition "qfoo" ct;;
             tmReturn [];;
             tmReturn tt).
(* Error: Anomaly "Evar ?X40 was not declared."
Please report at http://coq.inria.fr/bugs/. *)
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

No branches or pull requests

1 participant