We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 9aaf2c2 + 2cfe246 commit 69108bfCopy full SHA for 69108bf
tests/pos/i8276.scala
@@ -0,0 +1,7 @@
1
+object NOTHING
2
+
3
+inline given [A]: Conversion[NOTHING.type, Option[A]] = _ => None
4
5
+def apply[A](p: Vector[A], o: Option[A] = NOTHING): Unit = ???
6
7
+def test = apply[String](Vector.empty)
0 commit comments