Bug or Feature: unsigned integer overflow

berni44 dlang at d-ecke.de
Sat Dec 14 10:32:10 UTC 2019


On Saturday, 14 December 2019 at 09:33:13 UTC, Tobias Pankrath 
wrote:
> See: https://dlang.org/spec/lex.html#integerliteral
>
> What I am aiming at: Is the spec wrong or am I misunderstanding 
> it and did this change recently?

You are right. The implementation does not do what the specs tell 
here.
I filed a bug report: 
https://issues.dlang.org/show_bug.cgi?id=20449


More information about the Digitalmars-d-learn mailing list