Bug in dmd?

Andrey Zherikov andrey.zherikov at gmail.com
Tue Jun 14 23:56:58 UTC 2022


On Tuesday, 14 June 2022 at 21:44:48 UTC, Dukc wrote:
> No idea. The functions seems indeed to be exactly the same, so 
> I assume this is a DMD bug. It cannot be a bug in 
> `std.sumtype`, since that would trigger in both of the 
> templates.

This definitely triggers some bug in DMD because this `private 
void printHelp ...` function is not really `private` as it's 
called from [another 
module](https://github.com/andrey-zherikov/argparse/blob/bug/source/argparse/internal.d#L786) and DMD doesn't catch this.


More information about the Digitalmars-d-learn mailing list