Checked!({short, ushort, byte, ubyte}, Throw): compilation fails

tsbockman thomas.bockman at gmail.com
Sat Apr 18 17:51:30 UTC 2020


On Saturday, 18 April 2020 at 15:20:42 UTC, kdevel wrote:
> On Saturday, 18 April 2020 at 08:39:52 UTC, tsbockman wrote:
>>     https://code.dlang.org/packages/checkedint
>
> Hm.
>
> $ dub test
> Generating test runner configuration 'checkedint-test-library' 
> for 'library' (library).
> Excluding package.d file from test due to 
> https://issues.dlang.org/show_bug.cgi?id=11847
> Performing "unittest" build using [...]/linux/bin64/dmd for 
> x86_64.
> checkedint ~master: building configuration 
> "checkedint-test-library"...
> Linking...
> Running ./checkedint-test-library
> source/checkedint/package.d(672): [unittest] unittest failure
> core.exception.AssertError at source/checkedint/package.d(672): 
> unittest failure

I think that's a compiler bug, not a bug in my checkedint 
package, as the unit tests pass on earlier D compiler versions 
(including GDC 2.075). Regardless, I'll try to track it down and 
either fix it or file a compiler bug report for it today.


More information about the Digitalmars-d-learn mailing list