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 fed2764 commit 806386eCopy full SHA for 806386e
compiler/src/dotty/tools/dotc/typer/Namer.scala
@@ -1266,7 +1266,7 @@ class Namer { typer: Typer =>
1266
|and ${forwarder1.rhs.symbol}: ${alt2.widen}
1267
|have the same signature after erasure and overloading resolution could not disambiguate.""",
1268
exp.srcPos)
1269
- avoidClashWith(if cmp < 0 then forwarder else forwarder1, forwarders1)
+ avoidClashWith(if cmp < 0 then forwarder1 else forwarder, forwarders1)
1270
else
1271
val (forwarder2, forwarders2) = avoidClashWith(forwarder, forwarders1)
1272
(forwarder2, forwarders.derivedCons(forwarder1, forwarders2))
0 commit comments