Skip to content

Commit 0045424

Browse files
committed
Add test case
1 parent 1c36fc2 commit 0045424

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

Diff for: tests/pos/orinf.scala

+6
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
object Test {
2+
3+
def foo(lis: scala.collection.immutable.Set[Int] | scala.collection.immutable.Set[String]) = lis
4+
foo(Set(1))
5+
foo(Set(""))
6+
}

0 commit comments

Comments
 (0)