https://issues.dlang.org/show_bug.cgi?id=23850
--- Comment #2 from Richard Cattermole <[email protected]> --- Am I right to understand the core problem you are describing @kinke is duplicate symbols? If so, I am not sure how any exporting attributes could fix this scenario when you are duplicatiing including object files in your program. You're going to have hidden state that is duplicated which puts your program into an unknown state as you use it. But that does lead to a question if a build manager detects an include + external include matching, should it error rather than pick? Because now I'm thinking that yes it should error because things are not going to do what you want. --
