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: Large non-propositional inductive types must be in Type." but the inductive is not large with mutual inductives #15934

Open
SkySkimmer opened this issue Apr 20, 2022 · 0 comments
Labels
kind: bug An error, flaw, fault or unintended behaviour. part: inductives Inductive types, fixpoints, etc.

Comments

@SkySkimmer
Copy link
Contributor

Inductive foo := A | B
with bar : Set :=
  C : foo -> bar.

With no annotation we do get foo and bar in Set, and annotating Inductive foo:Set := ... also works.

@Alizter Alizter added kind: bug An error, flaw, fault or unintended behaviour. part: inductives Inductive types, fixpoints, etc. labels Apr 24, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind: bug An error, flaw, fault or unintended behaviour. part: inductives Inductive types, fixpoints, etc.
Projects
None yet
Development

No branches or pull requests

2 participants