Skip to content

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`.
@Gedochao
Copy link
Contributor

@EugeneFlesselle @sjrd what's the status of this?
is it still in progress?
It's listed as a prerequirement for #18261, is that still valid?

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.

3 participants