diff options
Diffstat (limited to 'tests/neg/autoTuplingTest.scala')
-rw-r--r-- | tests/neg/autoTuplingTest.scala | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/neg/autoTuplingTest.scala b/tests/neg/autoTuplingTest.scala index d4a698271..f72dfb635 100644 --- a/tests/neg/autoTuplingTest.scala +++ b/tests/neg/autoTuplingTest.scala @@ -2,10 +2,10 @@ import dotty.language.noAutoTupling object autoTuplingNeg { - val x = Some(1, 2) + val x = Some(1, 2) // error x match { - case Some(a, b) => a + b + case Some(a, b) => a + b // error // error // error case None => } } |