Skip to content

Conversation

hamzaremmal
Copy link
Member

@hamzaremmal hamzaremmal commented Sep 11, 2025

Closes #23875

In PostTyper, we used to change the representation of an Ident with a ThisType to a This(...) node.
In patterns, this causes an issue where we ended up not matching any previously known pattern and end up generating code that triggers an infinite loop.

@hamzaremmal hamzaremmal marked this pull request as ready for review September 11, 2025 11:13
@hamzaremmal hamzaremmal requested a review from odersky September 11, 2025 11:15
@hamzaremmal hamzaremmal merged commit 4c8e490 into scala:main Sep 12, 2025
44 checks passed
@hamzaremmal hamzaremmal deleted the i23875 branch September 12, 2025 08:30
@WojciechMazur WojciechMazur added this to the 3.7.4 milestone Sep 23, 2025
hamzaremmal added a commit that referenced this pull request Sep 24, 2025
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.

StackOverflow generated by Pattern Matching
3 participants