Skip to content

Commit 0cdb63d

Browse files
oderskyallanrenucci
authored andcommitted
Reclassify more tests
XmlQuote broke since proxies work now differently.
1 parent 5cd998f commit 0cdb63d

File tree

5 files changed

+3
-2
lines changed

5 files changed

+3
-2
lines changed

compiler/test/dotc/pos-test-pickling.blacklist

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,7 @@ implicit-dep.scala
3838
inline-access-levels
3939
macro-with-array
4040
macro-with-type
41+
matchtype.scala
4142
phantom-Eq2
4243
power-macro
4344
quote-lift-inline-params

library/src-scala3/scala/Tuple.scala

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -427,7 +427,7 @@ object NonEmptyTuple {
427427
def dynamicTail[This <: NonEmptyTuple] (self: This): Tail[This] = {
428428
type Result = Tail[This]
429429
val res = (self: Any) match {
430-
case self: Tuple1[_] => self._1
430+
case self: Tuple1[_] => ()
431431
case self: Tuple2[_, _] => Tuple1(self._2)
432432
case self: Tuple3[_, _, _] => Tuple2(self._2, self._3)
433433
case self: Tuple4[_, _, _, _] => Tuple3(self._2, self._3, self._4)
File renamed without changes.

tests/run/xml-interpolation/XmlQuote_1.scala renamed to tests/disabled/run/xml-interpolation/XmlQuote_1.scala

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ object XmlQuote {
4949
List(Typed(Repeated(values), _)))) if values.forall(isStringConstant) =>
5050
values.collect { case Literal(Constant.String(value)) => value }
5151
case tree =>
52-
abort("String literal expected")
52+
abort(s"String literal expected, but $tree found")
5353
}
5454

5555
// [a0, ...]: Any*

0 commit comments

Comments
 (0)