Skip to content

Commit c70d59b

Browse files
committed
Test case scala#4854
1 parent 5017f8b commit c70d59b

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

tests/pos/i4854.scala

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
class C {
2+
def f(x: Int): Unit = ()
3+
val f: String => Unit = s => ()
4+
f("a")
5+
}

0 commit comments

Comments
 (0)