Skip to content

Commit 69108bf

Browse files
Merge pull request #12060 from dotty-staging/fix-fix-#8276-2
Add regression test
2 parents 9aaf2c2 + 2cfe246 commit 69108bf

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

tests/pos/i8276.scala

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -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

Comments
 (0)