diff options
author | Martin Odersky <odersky@gmail.com> | 2016-08-18 18:41:43 +0200 |
---|---|---|
committer | Martin Odersky <odersky@gmail.com> | 2016-08-18 18:41:43 +0200 |
commit | 74aef53c8e894d5ce46151e098c121a73ede9539 (patch) | |
tree | c0245f8e10140e330cf4e2ecacab0dee141ae85c /tests/neg | |
parent | 806a7b3b6f8c6e7df276bceaa7b0a19c580a3486 (diff) | |
download | dotty-74aef53c8e894d5ce46151e098c121a73ede9539.tar.gz dotty-74aef53c8e894d5ce46151e098c121a73ede9539.tar.bz2 dotty-74aef53c8e894d5ce46151e098c121a73ede9539.zip |
Add import back.
Needed because the test is also run in neg wihtout command line option.
Diffstat (limited to 'tests/neg')
-rw-r--r-- | tests/neg/autoTuplingTest.scala | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/neg/autoTuplingTest.scala b/tests/neg/autoTuplingTest.scala index 62f10b3ea..92126ab5d 100644 --- a/tests/neg/autoTuplingTest.scala +++ b/tests/neg/autoTuplingTest.scala @@ -1,3 +1,5 @@ +import language.noAutoTupling + object autoTuplingNeg2 { val x = Some(1, 2) // error: too many arguments for method apply: (x: A)Some[A] |