Skip to content

Commit d71d682

Browse files
noti0na1odersky
andcommitted
Update compiler/src/dotty/tools/dotc/typer/Typer.scala
Co-authored-by: odersky <odersky@gmail.com>
1 parent 048151d commit d71d682

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1961,7 +1961,7 @@ class Typer(@constructorOnly nestingLevel: Int = 0) extends Namer
19611961
// Try to instantiate `pt` when possible.
19621962
// * If `pt` is a type variable, we try to instantiate it directly.
19631963
// * If `pt` is a more complex type, we try to instantiate it deeply by searching
1964-
// a nested type variable bounded by function types to help infer parameter types.
1964+
// a nested type variable bounded by a function type to help infer parameter types.
19651965
// If it does not work the error will be reported later in `inferredParam`,
19661966
// when we try to infer the parameter type.
19671967
pt match

0 commit comments

Comments
 (0)