Skip to content

Commit 5ea9a74

Browse files
authored
Update compiler/src/dotty/tools/dotc/typer/Namer.scala
1 parent 8a39d35 commit 5ea9a74

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

compiler/src/dotty/tools/dotc/typer/Namer.scala

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1485,7 +1485,7 @@ class Namer { typer: Typer =>
14851485

14861486
/** The expected type for a default argument. This is normally the `defaultParamType`
14871487
* 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
1488+
* makes it possible that the default argument can have a more specific type than the
14891489
* parameter. For instance, we allow
14901490
*
14911491
* class C[A](a: A) { def copy[B](x: B = a): C[B] = C(x) }

0 commit comments

Comments
 (0)