From bdb425c57128c85fc3f7bd03b1906f55805d2194 Mon Sep 17 00:00:00 2001 From: Martin Odersky Date: Wed, 24 Aug 2016 15:06:30 +0200 Subject: 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. --- tests/pending/pos/t7294.scala | 6 ------ 1 file changed, 6 deletions(-) delete mode 100644 tests/pending/pos/t7294.scala (limited to 'tests/pending') 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 } -} -- cgit v1.2.3