Skip to content

Commit f0ff9f1

Browse files
committed
Fix #6335: Add regression tests
1 parent a2e7b73 commit f0ff9f1

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

tests/neg/i6335.scala

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
case class Boo(i: Int) extends AnyVal
2+
val b: AnyRef = Boo(1) // error

0 commit comments

Comments
 (0)