From 8eba9acbc49eb02b9b5bd8523873a181255e4bb6 Mon Sep 17 00:00:00 2001 From: Paul Phillips Date: Tue, 29 Nov 2011 18:10:55 +0000 Subject: 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. --- test/files/run/repl-paste-2.check | 6 +++--- test/files/run/repl-paste-2.scala | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) (limited to 'test/files/run') diff --git a/test/files/run/repl-paste-2.check b/test/files/run/repl-paste-2.check index 4fdf080fd2..203b020f2c 100644 --- a/test/files/run/repl-paste-2.check +++ b/test/files/run/repl-paste-2.check @@ -3,7 +3,7 @@ Type :help for more information. scala> -scala> scala> 0123 +scala> scala> 999l // Detected repl transcript paste: ctrl-D to finish. @@ -34,8 +34,8 @@ res10: Int = 12 // Replaying 8 commands from transcript. -scala> 0123 -res0: Int = 83 +scala> 999l +res0: Long = 999 scala> val res5 = { 123 } res5: Int = 123 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 -- cgit v1.2.3