blob: f72dfb635fa51d4862f821eb8a7af24733e3ddc6 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
|
import dotty.language.noAutoTupling
object autoTuplingNeg {
val x = Some(1, 2) // error
x match {
case Some(a, b) => a + b // error // error // error
case None =>
}
}
|