aboutsummaryrefslogtreecommitdiff
path: root/tests/pending
diff options
context:
space:
mode:
authorMartin Odersky <odersky@gmail.com>2016-08-24 15:06:30 +0200
committerMartin Odersky <odersky@gmail.com>2016-08-26 11:13:17 +0200
commitbdb425c57128c85fc3f7bd03b1906f55805d2194 (patch)
tree1144b1224b5e282c40085142c0b48808eb79008d /tests/pending
parente1dc0b46a81a507ca040dca05a98f49fd6520d25 (diff)
downloaddotty-bdb425c57128c85fc3f7bd03b1906f55805d2194.tar.gz
dotty-bdb425c57128c85fc3f7bd03b1906f55805d2194.tar.bz2
dotty-bdb425c57128c85fc3f7bd03b1906f55805d2194.zip
Relax matching requirement in unApply
We now always widen selector type to the superclass if necessary, no matter whether the selector type refers to a trait or a proper class.
Diffstat (limited to 'tests/pending')
-rw-r--r--tests/pending/pos/t7294.scala6
1 files changed, 0 insertions, 6 deletions
diff --git a/tests/pending/pos/t7294.scala b/tests/pending/pos/t7294.scala
deleted file mode 100644
index ccac2b140..000000000
--- a/tests/pending/pos/t7294.scala
+++ /dev/null
@@ -1,6 +0,0 @@
-object Test {
- // no fruitless warning as Tuple2 isn't (yet) final.
- // The corresponding `neg` test will treat it as final
- // for the purposes of these tests under -Xfuture.
- (1, 2) match { case Seq() => 0; case _ => 1 }
-}