Skip to content

Commit 6bded27

Browse files
ysthakurprolativ
andauthored
Use clearer name
Co-authored-by: Michał Pałka <prolativus@gmail.com>
1 parent 3f42e53 commit 6bded27

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

compiler/src/dotty/tools/dotc/reporting/messages.scala

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2744,7 +2744,7 @@ class MissingImplicitArgument(
27442744
// show all available additional info
27452745
def hiddenImplicitNote(s: SearchSuccess) =
27462746
i"\n\nNote: ${s.ref.symbol.showLocated} was not considered because it was not imported with `import given`."
2747-
def noChainConversionsNote(s: Iterable[TermRef]): Option[String] =
2747+
def noChainConversionsNote(ignoredConversions: Iterable[TermRef]): Option[String] =
27482748
Option.when(s.nonEmpty)(
27492749
i"\n\nNote: Chaining implicit conversions are not allowed in Scala. " +
27502750
i"The following conversions are in scope:${s.map(g => s"\n - ${g.symbol.showDcl}").mkString}" +

0 commit comments

Comments
 (0)