aboutsummaryrefslogblamecommitdiff
path: root/tests/pos/autoTuplingTest.scala
blob: 523411a1a410a10894a0c6cb96255fc6a2e57111 (plain) (tree)
1
2
3
4
5
6
7
8
9

                    
                    

           
                            


                
object autoTupling {

  val x = Some(1, 2)

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