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: don't generate code for decls with an implemented_by attribute #6680

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

Conversation

zwarich
Copy link
Contributor

@zwarich zwarich commented Jan 17, 2025

This PR makes the new code generator skip generating code for decls with an implemented_by decl, just like the old code generator.

@zwarich zwarich added the changelog-compiler Compiler, runtime, and FFI label Jan 17, 2025
@zwarich zwarich requested a review from leodemoura as a code owner January 17, 2025 18:32
@zwarich
Copy link
Contributor Author

zwarich commented Jan 17, 2025

I didn't include a test because this falls over so hard on the Prelude when new codegen is enabled, but let me know if you'd prefer an independent test, since I can probably construct one.

@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 Jan 17, 2025
leanprover-community-mathlib4-bot added a commit to leanprover-community/batteries that referenced this pull request Jan 17, 2025
leanprover-community-mathlib4-bot added a commit to leanprover-community/mathlib4 that referenced this pull request Jan 17, 2025
@leanprover-community-bot leanprover-community-bot added the builds-mathlib CI has verified that Mathlib builds against this PR label Jan 17, 2025
@leanprover-community-bot
Copy link
Collaborator

Mathlib CI status (docs):

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
builds-mathlib CI has verified that Mathlib builds against this PR changelog-compiler Compiler, runtime, and FFI 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.

2 participants