On Monday, 31 July 2023 at 16:52:03 UTC, Dennis wrote:
On Monday, 31 July 2023 at 16:09:11 UTC, bachmeier wrote:Is there a reason it would be difficult to make this not compile?No, except that might result in code breakage.
The only way you could have code breakage is if you have ``` void f() { } extern(C) void f() { } ```but your program never calls f. The fix would be to comment out one of the duplicate function definitions.