Skip to content

Commit 32add3d

Browse files
test: add in a regression test for #15546 (#17569)
[skip community_build] closes #15546
2 parents 261a5ca + 4841453 commit 32add3d

File tree

1 file changed

+14
-0
lines changed

1 file changed

+14
-0
lines changed

tests/pos/i15546.scala

+14
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
// https://github.com/lampepfl/dotty/issues/15546
2+
3+
trait Foo[F[_]]
4+
5+
object Bug {
6+
def apply[F[_]: Foo](
7+
await: Boolean,
8+
whatever: Int = 0
9+
): Nothing = ???
10+
11+
def apply[F[_]: Foo]: Nothing =
12+
apply[F](false)
13+
}
14+

0 commit comments

Comments
 (0)