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 5262680 + cbd0851 commit 53723a3Copy full SHA for 53723a3
tests/run/i15913.scala
@@ -0,0 +1,20 @@
1
+// https://github.com/lampepfl/dotty/issues/15913
2
+
3
+class injector[F]
4
5
+object injectorFactory {
6
+ def apply[F](overrides: String*): injector[F] = new injector[F]
7
8
+ def apply[F](
9
+ bootstrapActivation: Int = ???,
10
+ overrides: Seq[String] = Seq.empty,
11
+ ): injector[F] = new injector[F]
12
+}
13
14
+object Test extends App {
15
+ println(
16
+ injectorFactory[String](
17
+ bootstrapActivation = 0
18
+ )
19
20
0 commit comments