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
Compiler crash on pattern matching in val definition #8395
Comments
Imported From: https://issues.scala-lang.org/browse/SI-8395?orig=1
|
@retronym said: |
@retronym said:
|
@retronym said (edited on Mar 12, 2014 12:51:52 PM UTC): https://github.com/scala/scala/pull/2848/files#diff-352de7f9c77a7e21df6940d6a1bcdc7eR62 object SymbolAndTypeBound {
def unapply(tree: Tree): Option[(Symbol, Type)] = tree match {
case SymbolBound(sym, SymbolAndTypeBound(_, tpe)) => Some(sym -> tpe)
case TypeBound(tpe) => Some(binder -> tpe)
case _ => None
}
} It vanishes into the |
@retronym said: |
@adriaanm said (edited on Mar 12, 2014 5:57:33 PM UTC): |
Provided code successfully compiles using 2.10.3 and crashes on 2.11.0-RC1:
Start of crash log:
The text was updated successfully, but these errors were encountered: