Skip to content

Commit ba9a773

Browse files
committed
Fix countString
1 parent cf60d86 commit ba9a773

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -314,7 +314,7 @@ abstract class Reporter extends interfaces.ReporterResult {
314314
/** Returns a string meaning "n elements". */
315315
protected def countString(n: Int, elements: String): String = n match {
316316
case 0 => s"no ${elements}s"
317-
case 1 => s"one ${elements}s"
317+
case 1 => s"one ${elements}"
318318
case 2 => s"two ${elements}s"
319319
case 3 => s"three ${elements}s"
320320
case 4 => s"four ${elements}s"

0 commit comments

Comments
 (0)