A strange div bug on Linux x86_64, (both dmd & ldc2): long -5000 / size_t 2 = 9223372036854773308

mw mingwu at gmail.com
Fri Aug 14 02:32:51 UTC 2020


On Friday, 14 August 2020 at 02:28:13 UTC, H. S. Teoh wrote:
> On Fri, Aug 14, 2020 at 02:10:20AM +0000, mw via Digitalmars-d 
> wrote: [...]
>> currently, there is a compile error
>> Error: template std.experimental.checkedint.Checked!(long,
>> Abort).Checked.__ctor cannot deduce function from argument 
>> types !()(Checked!(ulong, Abort))
                       ^^^^^
                       |||||
We want that error message, maybe you missed that too :-)

> Try writing it as:

same error; but we want it!


More information about the Digitalmars-d mailing list