8000 fix: handle constants with erased types in toMonoType by zwarich · Pull Request #8709 · leanprover/lean4 · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

fix: handle constants with erased types in toMonoType #8709

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

Merged
merged 1 commit into from
Jun 10, 2025

Conversation

zwarich
Copy link
Contributor
@zwarich zwarich commented Jun 10, 2025

This PR handles constants with erased types in toMonoType. It is much harder to write a test case for this than you would think, because most references to such types get replaced with lcErased earlier.

@zwarich zwarich requested a review from leodemoura as a code owner June 10, 2025 16:04
@zwarich zwarich added the changelog-compiler Compiler, runtime, and FFI label Jun 10, 2025
@zwarich zwarich enabled auto-merge June 10, 2025 16:04
@zwarich zwarich added this pull request to the merge queue Jun 10, 2025
Merged via the queue into leanprover:master with commit 1a9de50 Jun 10, 2025
17 checks passed
algebraic-dev pushed a commit to algebraic-dev/lean4 that referenced this pull request Jun 18, 2025
This PR handles constants with erased types in `toMonoType`. It is much
harder to write a test case for this than you would think, because most
references to such types get replaced with `lcErased` earlier.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
changelog-compiler Compiler, runtime, and FFI
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant
0