Skip to content

Conversation

@mbovel
Copy link
Member

@mbovel mbovel commented Oct 15, 2024

https://stackoverflow.com/q/68877939/21927647

Answer to the question:

You were not doing anything wrong, this was an implementation limitation.

Your example compiles successfully since Scala 3.4, thanks to the changes introduced in SIP-56 "Proper specification for match types" (text, PR).

@mbovel mbovel requested a review from sjrd October 15, 2024 15:24
Copy link
Member

@sjrd sjrd left a comment

Choose a reason for hiding this comment

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

Sure.

@mbovel mbovel enabled auto-merge October 15, 2024 15:35
@mbovel mbovel merged commit 472c047 into scala:main Oct 15, 2024
26 checks passed
@mbovel mbovel deleted the mb/so68877939 branch October 15, 2024 18:54
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