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

Match type trace improvements #20178

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

EugeneFlesselle
Copy link
Contributor

Normalize before attempting to record a failed match type reduction.
MatchTypeTrace.recurseWith will restore the previous entries if op succeeds, which is the true as long one reduction could be done, but we may miss an underlying failed reduction that was attempted.

Also dealias aliased applied match aliases, which are not quite applied match aliases and therefore not attempted to reduce on a tryNormalize.

`MatchTypeTrace.recurseWith` will restore the previous entries if op succeeds,
which is the true as long one reduction could be done,
but we may miss an underlying failed reduction that was attempted.

The issue could not be detected without separate compilation,
since the successful normalizations already happened in `TypeOps#simplify`.
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

Successfully merging this pull request may close these issues.

None yet

2 participants