https://issues.dlang.org/show_bug.cgi?id=2789
Iain Buclaw <[email protected]> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |[email protected] --- Comment #19 from Iain Buclaw <[email protected]> --- (In reply to Witold Baryluk from comment #18) > Interesting, gdc 9.2 does report duplicate: > > <source>:16:6: error: example.B.m at <source>:16:6 conflicts with > example.B.m at <source>:12:6 > > 16 | int m() { > > > > The issue is still present in dmd nightly, dmd 2.089, ldc 1.20, ldc trunk. > > Link with an example: https://godbolt.org/z/xE6fK7 This is checked in the codegen pass. Would be better if the front-end did it for us. --
