We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
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
object Test { sealed trait Cause[+E] object Cause { final case class Fail[E](value: E) extends Cause[E] } def fn(cause: Cause[Any]): String = cause match { case Cause.Fail(t: Throwable) => t.toString case Cause.Fail(any) => any.toString } }
The text was updated successfully, but these errors were encountered:
Fix scala#6197: erase pattern bound type symbols completely
6f9a2e2
Merge pull request #6889 from dotty-staging/fix-6197
0067b52
Fix #6197: erase pattern bound type symbols completely
liufengyun
Successfully merging a pull request may close this issue.
The text was updated successfully, but these errors were encountered: