On Saturday, 14 December 2019 at 07:09:30 UTC, Tobias Pankrath
wrote:
> void main()
> {
> auto x = 9223372036854775808; // long.max + 1
> }
You need to tell, that this is an unsigned long literal, else the
compiler treats it as an int:
void main()
{
auto x = 9223372036854775808UL; // long.max + 1
}