blob: db6705d02573a6ce15dac398185ed094efb8babd (
plain) (
blame)
1
2
3
4
|
object Test extends App {
List(1,2,3) map (_ match { case x => x + 1} ) // `_ match` is redundant but shouldn't crash the compiler
List((1,2)) map (_ match { case (x, z) => x + z})
}
|