blob: 7321a83827bbaf6997d53ad0be85664e686c1be8 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
|
object autoTupling {
val x = Some(1, 2) // error when running with -language:noAutoTupling
x match {
case Some(a, b) => a + b // error // error when running with -language:noAutoTupling
case None =>
}
}
|