summaryrefslogtreecommitdiff
path: root/test/files/neg/ambiguous-float-dots2.check
Commit message (Collapse)AuthorAgeFilesLines
* SI-7620 Remove floating-point-literals-without-digit-after-dotSimon Ochsenreither2013-06-281-5/+2
|
* Fix for octal test.Paul Phillips2011-11-291-1/+4
| | | | | | At the last minute I made -Xfuture leading-0 an error and failed to update the checkfile.
* Fixed -Xfuture 5.ds, deprecated 0-octal.Paul Phillips2011-11-291-12/+6
| | | | | | | | 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.
* Deprecated ambiguous dot syntaxes.Paul Phillips2011-11-111-0/+13
1.+(2) - what is it? Is it 3 or 3.0? Come scala 2.11 you won't have to not know (or even not know there's something you don't know.) 1.+(2) will then be safely considered equivalent to 1 + 2, because any dot not followed by a digit is not part of a number. Primarily, that's these forms: 3.f 3.d 3. If you prefer an error to a warning, use -Xfuture. Let's deprecate 012 == 10 too! (See comment.) References SI-5089, no review.