Skip to content

Conversation

nsajko
Copy link
Member

@nsajko nsajko commented Sep 7, 2025

Base code often assumes that a constructor will return a value of the stated type. This is false, cross-reference issue #42372.

This change prevents several stack overflows that arise when a generic method is called with a newly-defined type with such a weird constructor for some Base-defined type.

`Base` code often assumes that a constructor will return a value of the
stated type. This is false, cross-reference issue JuliaLang#42372.

This change prevents several stack overflows that arise when a generic
method is called with a newly-defined type with such a weird
constructor for some `Base`-defined type.
@nsajko nsajko added the bugfix This change fixes an existing bug label Sep 7, 2025
@nsajko
Copy link
Member Author

nsajko commented Sep 7, 2025

The trimming CI failure is issue #59507.

@nsajko nsajko marked this pull request as ready for review September 7, 2025 19:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bugfix This change fixes an existing bug
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants