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 1613ee1 commit a04d3a7Copy full SHA for a04d3a7
compiler/src/dotty/tools/dotc/typer/Typer.scala
@@ -833,7 +833,7 @@ class Typer(@constructorOnly nestingLevel: Int = 0) extends Namer
833
dynSelected match
834
case Apply(sel: Select, _) if !sel.denot.symbol.exists =>
835
// 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)
+ report.error(i"Cannot use selectDynamic here since it needs another selectDynamic to be invoked", tree.srcPos)
837
case _ =>
838
return dynSelected.ensureConforms(fieldType)
839
0 commit comments