presence of function template prevents diagnostic

Steven Schveighoffer schveiguy at gmail.com
Mon Nov 16 17:03:32 UTC 2020


On 11/14/20 5:44 PM, kdevel wrote:

> $ dmd -version=X -i foo
> $ ./foo
> void A.bar(int s)
> 
> Is the latter behavior intended or a bug?

That seems like a bug. It shouldn't be less ambiguous because you 
*added* an overload that can also handle it...

-Steve


More information about the Digitalmars-d-learn mailing list