[Issue 19432] Cannot initialize ulong with decimal value above signed long range

d-bugmail at puremagic.com d-bugmail at puremagic.com
Wed Oct 16 17:02:41 UTC 2019


Răzvan Ștefănescu <rumbu at rumbu.ro> changed:

           What    |Removed                     |Added
             Status|RESOLVED                    |REOPENED
                 CC|                            |rumbu at rumbu.ro
         Resolution|INVALID                     |---

--- Comment #3 from Răzvan Ștefănescu <rumbu at rumbu.ro> ---
I don't consider this resolved. Unsigned long values were accepted before
without error, I cannot tell for sure when this changed.

ulong x = 9223372036854775809; was considered valid code.

I don't see the point in forcing the user to decorate his numbers with data
type suffixes.


More information about the Digitalmars-d-bugs mailing list