blob: 3816152f205d705b83902e4becafa3103a083727 (
plain) (
tree)
|
|
package test // bug #1215
class Async {
def unapply(scrut: Any): Option[Any] = None
}
class Buffer {
val Put = new Async
//case class Put(x: int)
def joinPat(x: Any): Unit = {
x match {
case Put =>
case Put(y) =>
println("returning "+y)
}
}
}
|