We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent c3e4c40 commit f9b6e84Copy full SHA for f9b6e84
compiler/src/dotty/tools/dotc/typer/Typer.scala
@@ -575,7 +575,7 @@ class Typer extends Namer
575
ConstFold(select)
576
else if couldInstantiateTypeVar(qual.tpe.widen) then
577
// there's a simply visible type variable in the result; try again with a more defined qualifier type
578
- // There's a second trial wherw we try to instantiate all type variables in `qual.tpe.widen`,
+ // There's a second trial where we try to instantiate all type variables in `qual.tpe.widen`,
579
// but that is done only after we search for extension methods or conversions.
580
typedSelect(tree, pt, qual)
581
else
0 commit comments