Skip to content

Commit 53302f2

Browse files
Merge pull request #6466 from dotty-staging/fix-5902
Fix #5902: Add regression test
2 parents 9798e09 + 378d96c commit 53302f2

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

tests/neg/5902.scala

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
object Main {
2+
val a = infer[ValueOf[String]] // error
3+
}

0 commit comments

Comments
 (0)