Skip to content

Commit b61e960

Browse files
Merge pull request #9556 from dotty-staging/fix-#6335
Fix #6335: Add regression tests
2 parents c4a14a3 + f0ff9f1 commit b61e960

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)