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 3df158a commit c69eebdCopy full SHA for c69eebd
compiler/src/dotty/tools/dotc/typer/Typer.scala
@@ -669,7 +669,7 @@ class Typer(@constructorOnly nestingLevel: Int = 0) extends Namer
669
case Select(tree, _) => unapply(tree)
670
case _ => None
671
selected match
672
- // `fun` may not be typed do to errors like ambiguity in typing, so we check for that.
+ // `fun` may not be typed due to errors like ambiguity in typing, so we check for that.
673
// If we are already in precise mode, then the qualifier is already typed precisely,
674
// so there is no need for any additional logic.
675
case Extract(Apply(TypeApply(fun, _), _)) if fun.hasType && !ctx.mode.is(Mode.Precise) =>
0 commit comments