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

fix: structures with copied parents can now use other parents as instances #6175

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

kmill
Copy link
Collaborator

@kmill kmill commented Nov 22, 2024

This PR fixes a bug with the structure/class command where if there were parents that are not represented as subobjects but used other parents as instances, then there would be a kernel error. Closes #2611.

Note: there is still the limitation that parents that are not represented as subobjects do not themselves provide instances to other parents.

…ances

This PR fixes a bug with the `structure` command where if there were parents that are not represented as subobjects but which used other parents as instances, then there would be a kernel error. Closes leanprover#2611.
@kmill kmill added the changelog-language Language features, tactics, and metaprograms label Nov 22, 2024
@github-actions github-actions bot added the toolchain-available A toolchain is available for this PR, at leanprover/lean4-pr-releases:pr-release-NNNN label Nov 22, 2024
@leanprover-community-bot
Copy link
Collaborator

Mathlib CI status (docs):

  • ❗ Batteries/Mathlib CI will not be attempted unless your PR branches off the nightly-with-mathlib branch. Try git rebase e066c17a65f71a573bf074773d5012f3acfc4068 --onto 72e952eadc6a171310f1d8e9d6e78acf98421494. (2024-11-22 20:30:09)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
changelog-language Language features, tactics, and metaprograms toolchain-available A toolchain is available for this PR, at leanprover/lean4-pr-releases:pr-release-NNNN
Projects
None yet
Development

Successfully merging this pull request may close these issues.

(kernel) declaration has free variables error when extending class with typeclass parameter and extends
2 participants