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

tsbockman thomas.bockman at gmail.com
Sat Apr 18 18:34:47 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

This should be fixed now.

(It actually appears there was a bug in two of my unit tests 
*and* in *old* versions of the compiler, where the compiler bug 
allowed my bad unit tests to wrongly pass. Weird...)


More information about the Digitalmars-d-learn mailing list