We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 2e56dc4 commit ab7b9c3Copy full SHA for ab7b9c3
compiler/src/dotty/tools/dotc/typer/Typer.scala
@@ -829,7 +829,7 @@ class Typer(@constructorOnly nestingLevel: Int = 0) extends Namer
829
dynSelected match
830
case Apply(sel: Select, _) if !sel.denot.symbol.exists =>
831
// 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)
+ report.error(i"Cannot use selectDynamic here since it needs another selectDynamic to be invoked", tree.srcPos)
833
case _ =>
834
return dynSelected.ensureConforms(fieldType)
835
0 commit comments