blob: f9074677415e03e56df3e54f1e8598be4d3f333a (
plain) (
tree)
|
|
object Test extends Application {
case class L();
object N extends L();
def empty(xs : L) : Unit = xs match {
case x@N => println(x); println(x);
case x => println(x); println(x);
}
empty(L())
}
|