Skip to content

Commit 4ba1cf6

Browse files
committed
Throw in a private constructor, just to make sure that works
1 parent d9023d5 commit 4ba1cf6

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

tests/pos/i5827.scala

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1,3 @@
1-
case class Foo protected(a: Int)
1+
case class Foo protected(a: Int)
2+
3+
case class Bar private(a: Int)

0 commit comments

Comments
 (0)