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/neg/ambiguous-float-dots2.scala | |
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/neg/ambiguous-float-dots2.scala')
-rw-r--r-- | test/files/neg/ambiguous-float-dots2.scala | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/test/files/neg/ambiguous-float-dots2.scala b/test/files/neg/ambiguous-float-dots2.scala index 58cc1b70be..87e948db35 100644 --- a/test/files/neg/ambiguous-float-dots2.scala +++ b/test/files/neg/ambiguous-float-dots2.scala @@ -1,9 +1,14 @@ class A { val x0 = 5. +} + +class B { val x1 = 5.f val y0 = 055 +} +class D { 1.+(2) 1. + 2 1 + 2 -}
\ No newline at end of file +} |