-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Some[(A, Seq[B])] is not a valid result type of an unapplySeq #3248
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
The code snippet now compiles with #3747 if the |
Fix #3248: Handle repeated arguments in results of unapply selectors
Given that the API in #3747 can't be used if you write the return type explicitly, I'm reopening this issue. And given that we want cross-version Tasty to exist (at least for 3.0), and Tasty can't say that a method has a version-dependent user-written name (thankfully!), it appears we must support |
Changes to `unapply` are dropped and will be reverted in the future. scala#3248 is reopened.
Changes to `unapply` are dropped and will be reverted in the future. scala#3248 is reopened.
Fix #3248: support product-seq pattern
This code snippet fails to compile with Dotty
The text was updated successfully, but these errors were encountered: