blob: 8259f06a8a0ec9ee8e92b909da75bf154af6b6c4 (
plain) (
tree)
|
|
trait T {
def f = 42 match { case `x` @ _ => x }
def g = 42 match { case `type` @ _ => `type` }
def h = 42 match { case `type` : Int => `type` }
def i = (null: Any) match { case _: Int | _: String => 17 }
}
|