aboutsummaryrefslogtreecommitdiff
path: root/tests/neg/autoTuplingTest.scala
blob: d4a6982713914fed290a7454d339816e44cf5d09 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
import dotty.language.noAutoTupling

object autoTuplingNeg {

  val x = Some(1, 2)

  x match {
    case Some(a, b) => a + b
    case None =>
  }
}