Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion library/src/scala/io/Source.scala
Original file line number Diff line number Diff line change
Expand Up @@ -317,7 +317,7 @@ abstract class Source extends Iterator[Char] with Closeable {
report(pos, msg, out)
}

private def spaces(n: Int) = List.fill(n)(' ').mkString
private def spaces(n: Int) = " ".repeat(n)
/**
* @param pos the source position (line/column)
* @param msg the error message to report
Expand Down
Loading