blob: 655c2e84a32e48a38b39844858a885a4c5c1bb52 (
plain) (
tree)
|
|
object Test {
case class A(a: Int) {
object Ex {
def unapply(i: Int): Option[Int] = Some(i)
}
}
A(42) match {
case x@A(x/*<-- refers to the pattern that includes this comment*/.Ex(42)) =>
}
}
|