diff options
Diffstat (limited to 'tests/pos/autoTuplingTest.scala')
-rw-r--r-- | tests/pos/autoTuplingTest.scala | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/pos/autoTuplingTest.scala b/tests/pos/autoTuplingTest.scala index 7321a8382..523411a1a 100644 --- a/tests/pos/autoTuplingTest.scala +++ b/tests/pos/autoTuplingTest.scala @@ -1,9 +1,9 @@ object autoTupling { - val x = Some(1, 2) // error when running with -language:noAutoTupling + val x = Some(1, 2) x match { - case Some(a, b) => a + b // error // error when running with -language:noAutoTupling + case Some(a, b) => a + b case None => } } |