Skip to content

Conversation

nielsdos
Copy link
Member

The assertion is imprecise now, and the code assumed that from the moment an internal class was encountered that there were only internal classes remaining. This is wrong now, and we still have to continue if we encounter an internal class. We can only skip the remaining iterations if the entry in the hash table is not an alias.

@nielsdos nielsdos linked an issue May 16, 2025 that may be closed by this pull request
@nielsdos nielsdos marked this pull request as ready for review May 16, 2025 19:54
@nielsdos nielsdos requested a review from dstogov as a code owner May 16, 2025 19:54
…ion failure

The assertion is imprecise now, and the code assumed that from the
moment an internal class was encountered that there were only internal
classes remaining. This is wrong now, and we still have to continue if
we encounter an internal class. We can only skip the remaining iterations
if the entry in the hash table is not an alias.
Copy link
Member

@arnaud-lb arnaud-lb left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This makes sense to me

@nielsdos nielsdos closed this in 41e11a6 May 19, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Preloading with internal class alias triggers assertion failure
3 participants