diff options
author | vsalvis <salvisbergvera@gmail.com> | 2015-07-10 17:01:35 +0200 |
---|---|---|
committer | VladimirNik <vladimir.nikolaev9@gmail.com> | 2016-02-18 17:54:45 +0100 |
commit | 1ed38673d4c88d573363459d316fdfe275d05025 (patch) | |
tree | 6ae87391dab765853b97c81dfa4f05bbba2e527b /tests/pos/autoTuplingTest.scala | |
parent | 4be70a5a8469c1355c84bef70936a81f899a9678 (diff) | |
download | dotty-1ed38673d4c88d573363459d316fdfe275d05025.tar.gz dotty-1ed38673d4c88d573363459d316fdfe275d05025.tar.bz2 dotty-1ed38673d4c88d573363459d316fdfe275d05025.zip |
Negtests with // error comments
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 523411a1a..c5bb84e95 100644 --- a/tests/pos/autoTuplingTest.scala +++ b/tests/pos/autoTuplingTest.scala @@ -1,9 +1,9 @@ object autoTupling { - val x = Some(1, 2) + val x = Some(1, 2) // error when running with -language:noAutoTupling x match { - case Some(a, b) => a + b + case Some(a, b) => a + b // error // error // error when running with -language:noAutoTupling case None => } } |