diff --git a/tests/pos/i8276.scala b/tests/pos/i8276.scala new file mode 100644 index 000000000000..e68cf009bc33 --- /dev/null +++ b/tests/pos/i8276.scala @@ -0,0 +1,7 @@ +object NOTHING + +inline given [A]: Conversion[NOTHING.type, Option[A]] = _ => None + +def apply[A](p: Vector[A], o: Option[A] = NOTHING): Unit = ??? + +def test = apply[String](Vector.empty) \ No newline at end of file