dmd 2.093.1: duplicate method definitions ignored altogether

Jacob Carlborg doob at me.com
Wed Jan 6 12:33:13 UTC 2021


On 2021-01-05 03:02, kdevel wrote:

> expected output: none. The compiler should have rejected the code after 
> the duplicate definition def #2. dmd 2.093.1 ignores both definitions 
> instead. Is this a bug or a bug?

DMD 2.095.0 now reports an error for this.

-- 
/Jacob Carlborg


More information about the Digitalmars-d-learn mailing list