Skip to content

Conversation

WojciechMazur
Copy link
Contributor

Backports #20459 to the 3.7.4.

PR submitted by the release tooling.
[skip ci]

@WojciechMazur WojciechMazur force-pushed the release-3.7.4_backport-23792 branch from 07c0e16 to 503232a Compare September 21, 2025 16:01
Emil Ejbyfeldt and others added 3 commits September 21, 2025 18:02
This fixes #15692 and does not seem to break an existing compilation
tests. The problem with seen when it comes #15692 is that seen means
that type that has repeated types will get a lower size and this
incorrectly triggers the divergence check since some of the steps
involved less repeated types.

The seen logic was introduced in #6329 and the motivation was to deal
with F-bounds. Since not tests fail it not clear if this logic is still
needed to deal with F-bounds? If it is still needed we can add a test
and instead of removing the seen logic we can make it track only types
the appear as a bound and could cause infinite recursion instead of
tracking all.

[Cherry-picked c2ef180]
Also adds test case that stackoverflows without any seen check.

[Cherry-picked 008d58e]
@WojciechMazur WojciechMazur force-pushed the release-3.7.4_backport-20459 branch from 429c473 to 9e6a756 Compare September 21, 2025 16:02
@WojciechMazur
Copy link
Contributor Author

Rejected from backport, introduced regression

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.

2 participants