Skip to content

Conversation

@odersky
Copy link
Contributor

@odersky odersky commented Oct 28, 2024

It turns out it could have the wrong symbol referring to a same-named definition in the superclass under some recursive definition of a self type. This caused a crash in pickler in #21755 because we now have two different definitions in two different classes that have the same symbol.

Fixes #21755

It turns out it could have the wrong symbol referring to a same-named definition
in the superclass under some recursive definition of a self type. This caused a crash
in pickler in scala#21755 because we now have two different definitions in two different classes that
have the same symbol.

Fixes scala#21755
@odersky
Copy link
Contributor Author

odersky commented Nov 4, 2024

@dwijnand Ping for review

@odersky odersky merged commit 9e266e4 into scala:main Nov 8, 2024
29 checks passed
@odersky odersky deleted the fix-21755 branch November 8, 2024 16:03
@dwijnand
Copy link
Member

Sorry Martin, I missed this.

@odersky
Copy link
Contributor Author

odersky commented Nov 12, 2024

No problem. If you still can take a look, please do!

@dwijnand
Copy link
Member

Yep, the situation looks crazy but the fix looks good 😄

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.

unhandled exception while running pickler

3 participants