blob: dd3f94f30cec135d6262ffa5b3c15c12d483279e (
plain) (
tree)
|
|
object O {
class testClass ;
case class testA() extends testClass ; // works if you leave away "extends..."
// or if you write TestA
def ga( x:testClass ) = x match {
case testA() => ()
}
}
|