Skip to content

Commit ab7b9c3

Browse files
authored
Update compiler/src/dotty/tools/dotc/typer/Typer.scala
1 parent 2e56dc4 commit ab7b9c3

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
@@ -829,7 +829,7 @@ class Typer(@constructorOnly nestingLevel: Int = 0) extends Namer
829829
dynSelected match
830830
case Apply(sel: Select, _) if !sel.denot.symbol.exists =>
831831
// Reject corner case where selectDynamic needs annother selectDynamic to be called. E.g. as in neg/unselectable-fields.scala.
832-
report.error(i"Cannot use selectDynamic here since it it needs another selectDynamic to be invoked", tree.srcPos)
832+
report.error(i"Cannot use selectDynamic here since it needs another selectDynamic to be invoked", tree.srcPos)
833833
case _ =>
834834
return dynSelected.ensureConforms(fieldType)
835835
case _ =>

0 commit comments

Comments
 (0)