From 74aef53c8e894d5ce46151e098c121a73ede9539 Mon Sep 17 00:00:00 2001 From: Martin Odersky Date: Thu, 18 Aug 2016 18:41:43 +0200 Subject: Add import back. Needed because the test is also run in neg wihtout command line option. --- tests/neg/autoTuplingTest.scala | 2 ++ 1 file changed, 2 insertions(+) (limited to 'tests/neg') 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] -- cgit v1.2.3