Skip to content

Commit da8e352

Browse files
committed
Move varargs tests to top-level pos and neg
1 parent 1a8c26c commit da8e352

File tree

8 files changed

+3
-3
lines changed

8 files changed

+3
-3
lines changed

tests/neg/t1625b.scala

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
object T5 {
2+
case class Abc(x: String*, c: String*) // error // error: varargs parameter must come last AND found: String* required: String
3+
}

tests/neg/varargsInMethodsT1625/caseClassConstructorVarArgs.scala

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

0 commit comments

Comments
 (0)