From 56e1bac04f9e9395122be3255ae11b9ef09d05ca Mon Sep 17 00:00:00 2001 From: Nicolas Stucki Date: Tue, 26 Sep 2023 09:41:47 +0200 Subject: [PATCH] Fix typos in ExtensionMethods --- .../src/dotty/tools/dotc/transform/ExtensionMethods.scala | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/compiler/src/dotty/tools/dotc/transform/ExtensionMethods.scala b/compiler/src/dotty/tools/dotc/transform/ExtensionMethods.scala index a430f7532066..19124357a0bd 100644 --- a/compiler/src/dotty/tools/dotc/transform/ExtensionMethods.scala +++ b/compiler/src/dotty/tools/dotc/transform/ExtensionMethods.scala @@ -215,8 +215,8 @@ object ExtensionMethods { | | ${candidates.map(c => s"${c.name}:${c.info.signature}:${FullParameterization.memberSignature(c.info)}").mkString("\n")}""") if matching.tail.nonEmpty then - // this case will report a "have the same erasure" error later at erasure pahse - 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}")}") matching.head.symbol.asTerm } }