summaryrefslogtreecommitdiff
path: root/src/library
diff options
context:
space:
mode:
authorSzabolcs Berecz <szabolcs.berecz@gmail.com>2012-01-20 00:16:14 +0100
committerSzabolcs Berecz <szabolcs.berecz@gmail.com>2012-01-20 00:23:09 +0100
commit5d782f24fcb339dfeb9250c329e99ad11983f89d (patch)
tree989e0797cdbc6b10c3378ec43ea8b1bafd827a9a /src/library
parent8deade7d868dbd79194621d815ee6eee46f9807d (diff)
downloadscala-5d782f24fcb339dfeb9250c329e99ad11983f89d.tar.gz
scala-5d782f24fcb339dfeb9250c329e99ad11983f89d.tar.bz2
scala-5d782f24fcb339dfeb9250c329e99ad11983f89d.zip
Closes SI-5066
readLine("%s", "prompt") printed "WrappedArray(prompt)" readLine("%s%s", "pro", "mpt") threw a MissingFormatArgumentException
Diffstat (limited to 'src/library')
-rw-r--r--src/library/scala/Predef.scala2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/library/scala/Predef.scala b/src/library/scala/Predef.scala
index b175fb9e1d..824e048e73 100644
--- a/src/library/scala/Predef.scala
+++ b/src/library/scala/Predef.scala
@@ -269,7 +269,7 @@ object Predef extends LowPriorityImplicits {
def printf(text: String, xs: Any*) = Console.print(text.format(xs: _*))
def readLine(): String = Console.readLine()
- def readLine(text: String, args: Any*) = Console.readLine(text, args)
+ def readLine(text: String, args: Any*) = Console.readLine(text, args: _*)
def readBoolean() = Console.readBoolean()
def readByte() = Console.readByte()
def readShort() = Console.readShort()