[Issue 2789] Functions overloads are not checked for conflicts

d-bugmail at puremagic.com d-bugmail at puremagic.com
Fri May 15 16:26:07 UTC 2020


https://issues.dlang.org/show_bug.cgi?id=2789

--- Comment #18 from Witold Baryluk <witold.baryluk+d at gmail.com> ---
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

--


More information about the Digitalmars-d-bugs mailing list