December 17, 2022 [Issue 15324] symbol is already defined / size of symbol changed | ||||
---|---|---|---|---|
| ||||
https://issues.dlang.org/show_bug.cgi?id=15324 Iain Buclaw <ibuclaw@gdcproject.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Priority|P1 |P3 -- |
June 28, 2023 [Issue 15324] symbol is already defined / size of symbol changed | ||||
---|---|---|---|---|
| ||||
https://issues.dlang.org/show_bug.cgi?id=15324 RazvanN <razvan.nitu1305@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED CC| |razvan.nitu1305@gmail.com Resolution|--- |WORKSFORME --- Comment #8 from RazvanN <razvan.nitu1305@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. -- |
Copyright © 1999-2021 by the D Language Foundation