diff options
author | Paul Phillips <paulp@improving.org> | 2011-11-29 18:10:55 +0000 |
---|---|---|
committer | Paul Phillips <paulp@improving.org> | 2011-11-29 18:10:55 +0000 |
commit | 8eba9acbc49eb02b9b5bd8523873a181255e4bb6 (patch) | |
tree | a0fa1d713bd0cfdba8b95f7d552dccd1be795fd4 /test/files/run | |
parent | 9c4f14411f1aac5d106aa4a2a404c7d231752478 (diff) | |
download | scala-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')
-rw-r--r-- | test/files/run/repl-paste-2.check | 6 | ||||
-rw-r--r-- | test/files/run/repl-paste-2.scala | 2 |
2 files changed, 4 insertions, 4 deletions
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 |