diff options
-rw-r--r-- | src/library/scala/Console.scala | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/library/scala/Console.scala b/src/library/scala/Console.scala index b7f68c3588..73f1e8c63e 100644 --- a/src/library/scala/Console.scala +++ b/src/library/scala/Console.scala @@ -227,7 +227,7 @@ object Console { /** Read a short value from the terminal. */ - def readShort(): Short = readLine().toByte + def readShort(): Short = readLine().toShort /** Read a char value from the terminal. */ |