We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 8067b95 commit ba18173Copy full SHA for ba18173
tests/pos/orinf.scala
@@ -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