Skip to content

Commit a04d3a7

Browse files
committed
Update compiler/src/dotty/tools/dotc/typer/Typer.scala
1 parent 1613ee1 commit a04d3a7

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

0 commit comments

Comments
 (0)