Skip to content

Commit c69eebd

Browse files
committed
typo fix
1 parent 3df158a commit c69eebd

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
@@ -669,7 +669,7 @@ class Typer(@constructorOnly nestingLevel: Int = 0) extends Namer
669669
case Select(tree, _) => unapply(tree)
670670
case _ => None
671671
selected match
672-
// `fun` may not be typed do to errors like ambiguity in typing, so we check for that.
672+
// `fun` may not be typed due to errors like ambiguity in typing, so we check for that.
673673
// If we are already in precise mode, then the qualifier is already typed precisely,
674674
// so there is no need for any additional logic.
675675
case Extract(Apply(TypeApply(fun, _), _)) if fun.hasType && !ctx.mode.is(Mode.Precise) =>

0 commit comments

Comments
 (0)