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.
1 parent 8a39d35 commit 5ea9a74Copy full SHA for 5ea9a74
compiler/src/dotty/tools/dotc/typer/Namer.scala
@@ -1485,7 +1485,7 @@ class Namer { typer: Typer =>
1485
1486
/** The expected type for a default argument. This is normally the `defaultParamType`
1487
* with references to internal parameters replaced by wildcards. This replacement
1488
- * makes it possible that the default argument can be a more specific type than the
+ * makes it possible that the default argument can have a more specific type than the
1489
* parameter. For instance, we allow
1490
*
1491
* class C[A](a: A) { def copy[B](x: B = a): C[B] = C(x) }
0 commit comments