Skip to content

Commit e43c3aa

Browse files
committed
Reclassifying tests
1 parent 315c097 commit e43c3aa

File tree

4 files changed

+11
-9
lines changed

4 files changed

+11
-9
lines changed

test/dotc/tests.scala

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -84,6 +84,7 @@ class tests extends CompilerTest {
8484
@Test def neg_tailcall2 = compileFile(negDir, "tailcall/tailrec-2", xerrors = 2)
8585
@Test def neg_tailcall3 = compileFile(negDir, "tailcall/tailrec-3", xerrors = 2)
8686
@Test def neg_t1843 = compileFile(negDir, "t1843", xerrors = 1)
87+
@Test def neg_t2994 = compileFile(negDir, "t2994", xerrors = 13)
8788

8889
@Test def dotc = compileDir(dotcDir + "tools/dotc", twice)
8990
@Test def dotc_ast = compileDir(dotcDir + "tools/dotc/ast", twice)

tests/pending/pos/t2994a.scala renamed to tests/neg/t2994.scala

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,3 +25,11 @@ object Naturals {
2525
}
2626

2727
}
28+
29+
object Test {
30+
trait Bar[X[_]]
31+
trait Baz[S[_] <: Bar[S]] {
32+
type Apply[T]
33+
}
34+
trait Foo[V[_] <: Bar[V]] extends Bar[Baz[V]#Apply]
35+
}

tests/pending/pos/t2945.scala

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
object Foo {
22
def test(s: String) = {
33
(s: Seq[Char]) match {
4-
case Seq('f', 'o', 'o', ' ', rest1 @ _*) =>
4+
case Seq('f', 'o', 'o', ' ', rest1: _*) =>
55
rest1
6-
case Seq('b', 'a', 'r', ' ', ' ', rest2 @ _*) =>
6+
case Seq('b', 'a', 'r', ' ', ' ', rest2: _*) =>
77
rest2
88
case _ =>
99
s

tests/pending/pos/t2994b.scala

Lines changed: 0 additions & 7 deletions
This file was deleted.

0 commit comments

Comments
 (0)