[Issue 18927] Regression: Number with real suffix "L" sometimes fails to compile

d-bugmail at puremagic.com d-bugmail at puremagic.com
Thu May 31 13:38:21 UTC 2018


https://issues.dlang.org/show_bug.cgi?id=18927

kinke at gmx.net changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |kinke at gmx.net

--- Comment #4 from kinke at gmx.net ---
(In reply to Sophie from comment #3)
> L is supposed to also be a suffix for reals, not only for long integers.

It's not just supposed to, it is. To dinstinguish between `long` and `real`
literals, the latter needs a '.' or an exponent, analogous to `int` vs.
`double` literals.

--


More information about the Digitalmars-d-bugs mailing list