blob: 3f2b6fca558505bce2e5a67cf1b64fc7659cf82d (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
|
object Test extends dotty.runtime.LegacyApp {
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())
}
|