blob: 655c2e84a32e48a38b39844858a885a4c5c1bb52 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
|
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)) =>
}
}
|