[Issue 15324] symbol is already defined / size of symbol changed
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Wed Jun 28 10:02:12 UTC 2023
https://issues.dlang.org/show_bug.cgi?id=15324
RazvanN <razvan.nitu1305 at gmail.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
CC| |razvan.nitu1305 at gmail.com
Resolution|--- |WORKSFORME
--- Comment #8 from RazvanN <razvan.nitu1305 at gmail.com> ---
I now get a compiler error using the latest version of the compiler for both
the reduced example provided in comment 1
(https://issues.dlang.org/show_bug.cgi?id=15324#c1) and for the extra-reduced
example provided in comment 5
(https://issues.dlang.org/show_bug.cgi?id=15324#c1). The error is:
test.d(9): Error: function
`test.MultiIndexContainer!().MultiIndexContainer.contains(int k)` conflicts
with previous declaration at test.d(3)
test.d(17): Error: template instance `test.MultiIndexContainer!()` error
instantiating
So the compiler now catches this case. Closing as WORKSFORME.
--
More information about the Digitalmars-d-bugs
mailing list