Skip to content

Commit 3881dd8

Browse files
committed
Fix test
1 parent 18a06aa commit 3881dd8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/neg/i4564a.scala

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,4 +3,4 @@ class BaseCP[T] {
33
def apply(x: T): ClashPoly = if (???) ClashPoly(1) else ???
44
}
55
object ClashPoly extends BaseCP[Int]
6-
case class ClashPoly private(x: Int) // private method apply cannot override method apply in class BaseCP
6+
case class ClashPoly private(x: Int) // error: private method apply cannot override method apply in class BaseCP

0 commit comments

Comments
 (0)