We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 48a7871 commit 56e1bacCopy full SHA for 56e1bac
compiler/src/dotty/tools/dotc/transform/ExtensionMethods.scala
@@ -215,8 +215,8 @@ object ExtensionMethods {
215
|
216
| ${candidates.map(c => s"${c.name}:${c.info.signature}:${FullParameterization.memberSignature(c.info)}").mkString("\n")}""")
217
if matching.tail.nonEmpty then
218
- // this case will report a "have the same erasure" error later at erasure pahse
219
- report.log(i"mutiple extension methods match $imeth: ${candidates.map(c => i"${c.name}:${c.info}")}")
+ // this case will report a "have the same erasure" error later at erasure phase
+ report.log(i"multiple extension methods match $imeth: ${candidates.map(c => i"${c.name}:${c.info}")}")
220
matching.head.symbol.asTerm
221
}
222
0 commit comments