We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 6c05c36 + 56e1bac commit 982c91bCopy full SHA for 982c91b
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