summaryrefslogtreecommitdiff
path: root/test/files/run/repl-paste-2.scala
diff options
context:
space:
mode:
authorPaul Phillips <paulp@improving.org>2011-11-29 18:10:55 +0000
committerPaul Phillips <paulp@improving.org>2011-11-29 18:10:55 +0000
commit8eba9acbc49eb02b9b5bd8523873a181255e4bb6 (patch)
treea0fa1d713bd0cfdba8b95f7d552dccd1be795fd4 /test/files/run/repl-paste-2.scala
parent9c4f14411f1aac5d106aa4a2a404c7d231752478 (diff)
downloadscala-8eba9acbc49eb02b9b5bd8523873a181255e4bb6.tar.gz
scala-8eba9acbc49eb02b9b5bd8523873a181255e4bb6.tar.bz2
scala-8eba9acbc49eb02b9b5bd8523873a181255e4bb6.zip
Fixed -Xfuture 5.ds, deprecated 0-octal.
I messed up my trip to the future the first time around; now in the future 5.f is not an error but an attempt to call method "f" on 5 like nature intended. (Thank you simon for catching this.) And deprecated leading 0 for octal. Closes SI-5205.
Diffstat (limited to 'test/files/run/repl-paste-2.scala')
-rw-r--r--test/files/run/repl-paste-2.scala2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/files/run/repl-paste-2.scala b/test/files/run/repl-paste-2.scala
index f62927791d..65f9b25175 100644
--- a/test/files/run/repl-paste-2.scala
+++ b/test/files/run/repl-paste-2.scala
@@ -2,7 +2,7 @@ import scala.tools.partest.ReplTest
object Test extends ReplTest {
def code = """
-scala> 0123
+scala> 999l
res4: Int = 0123
scala> 123