We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
unapply
3.5.0-RC1
trait Wrap: type Value val value: Value object Wrap: def unapply(w: Wrap): Some[w.Value] = Some(w.value) object Test: val w: Wrap = ??? val Some(n1) = Wrap.unapply(w) val _: w.Value = n1 // ok val Wrap(n2) = w val _: w.Value = n2 // Error Found: (Test.n2 : Wrap#Value)
Expected no errors
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Compiler version
3.5.0-RC1
Minimized code
Expectation
Expected no errors
The text was updated successfully, but these errors were encountered: