Skip to content

Commit d964c22

Browse files
nicolasstuckiWojciechMazur
authored andcommitted
Fix typos in ExtensionMethods
[Cherry-picked 56e1bac]
1 parent 6dc05fa commit d964c22

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Diff for: compiler/src/dotty/tools/dotc/transform/ExtensionMethods.scala

+2-2
Original file line numberDiff line numberDiff line change
@@ -215,8 +215,8 @@ object ExtensionMethods {
215215
|
216216
| ${candidates.map(c => s"${c.name}:${c.info.signature}:${FullParameterization.memberSignature(c.info)}").mkString("\n")}""")
217217
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}")}")
218+
// this case will report a "have the same erasure" error later at erasure phase
219+
report.log(i"multiple extension methods match $imeth: ${candidates.map(c => i"${c.name}:${c.info}")}")
220220
matching.head.symbol.asTerm
221221
}
222222
}

0 commit comments

Comments
 (0)