diff options
author | Martin Odersky <odersky@gmail.com> | 2016-08-18 17:24:11 +0200 |
---|---|---|
committer | Martin Odersky <odersky@gmail.com> | 2016-08-18 17:49:06 +0200 |
commit | d5ef867b1f89c79f8620129693e4f1e9bc6f617c (patch) | |
tree | 90b573d0452c362d6dbe6be0731f22d211d35200 /tests/neg/autoTuplingTest.scala | |
parent | 5a5f9d7ed37ca6449ef61ee5e0f6fbf9731df795 (diff) | |
download | dotty-d5ef867b1f89c79f8620129693e4f1e9bc6f617c.tar.gz dotty-d5ef867b1f89c79f8620129693e4f1e9bc6f617c.tar.bz2 dotty-d5ef867b1f89c79f8620129693e4f1e9bc6f617c.zip |
Refinements to auto tupling
There's a nasty interaction with auto-tupling and trying to insert an implicit
on the qualifier of a call. If the original call fails, we need to "undo" any
auto-tupling decisions in calls where an implicit is inserted on the qualifier.
Also: Needed to fix canAutoTuple test so that Scala2 feature is checked instead of dotty's.
Also: Drop features in dotty.language that duplicate those in scala.language.
Diffstat (limited to 'tests/neg/autoTuplingTest.scala')
-rw-r--r-- | tests/neg/autoTuplingTest.scala | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/tests/neg/autoTuplingTest.scala b/tests/neg/autoTuplingTest.scala index 37136b760..62f10b3ea 100644 --- a/tests/neg/autoTuplingTest.scala +++ b/tests/neg/autoTuplingTest.scala @@ -1,5 +1,3 @@ -import dotty.language.noAutoTupling - object autoTuplingNeg2 { val x = Some(1, 2) // error: too many arguments for method apply: (x: A)Some[A] |