Skip to content

Commit 50c75f0

Browse files
committed
Add test case
1 parent a8f7e6c commit 50c75f0

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed

tests/pos/conformsWild.scala

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
object Test {
2+
3+
val x: Function1[_, _] = (x: String) => 1
4+
5+
val y: Function1[_, _] = x => 1
6+
val y0: Function1[_, _] = x => x
7+
val y1: Function1[_, Nothing] = x => x
8+
9+
val z: (_, _) = (1, 2)
10+
11+
}

0 commit comments

Comments
 (0)