Skip to content

Commit a6b7234

Browse files
Fix tests
1 parent 7faaa24 commit a6b7234

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

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

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,3 +26,4 @@ i7868.scala
2626
enum-java
2727
zero-arity-case-class.scala
2828
tuple-ops.scala
29+
i7212
Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,11 @@
11
import scala.annotation._
22

3-
class C {
3+
class CompatVargs {
44
@varargs
55
def vargs(args: String*): Unit = println(args)
66

77
def vargsFromScala(): Unit =
88
vargs("single")
99
vargs("a", "b")
1010
vargs(Seq("a", "b"): _*)
11-
1211
}

tests/run/i7212/Test.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
public class Test {
22
public static void main(String[] args) {
3-
C c = new C();
3+
CompatVargs c = new CompatVargs();
44
c.vargs("single");
55
c.vargs("a", "b");
66
c.vargs(new String[]{"a", "b"});

0 commit comments

Comments
 (0)