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