dub test errors during linking for struct with uninstantiated templated opEquals

kinke noone at nowhere.com
Sun Jun 21 16:58:43 UTC 2020


On Sunday, 21 June 2020 at 12:42:11 UTC, Per Nordlöw wrote:
> I'm suspecting this is a bug in dmd that fails to correctly 
> check if a struct has its templated `opEquals` instantiated.

I'd suggest taking dub out of the equation then, so that you can 
file a DMD issue once you can confirm it. Your sample works with 
`-main -unittest` on run.dlang.io, so it seems to depend on how 
the test executable is built.


More information about the Digitalmars-d mailing list