I understand, that this was the way D was designed initially. But the directly unrelated modules are both involved in the process willfully by using some mixins. They know what they're doing. They're not _completely_ unrelated.
On Tuesday, 27 November 2012 at 18:57:09 UTC, Gor Gyolchanyan wrote:
different directly unrelated modules couldcontribute to the code generation process […]
And one of the main design goals of the D module system is precisely that »different directly unrelated modules« don't affect each other. ;)
David