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
It could be technically kosher because of template lookup but I'm not sure if the behaviour is actually specified in the standard. Probably should be a bug.