On 4/15/13, Timothee Cour <[email protected]> wrote: >> How does that work if both modules are std.process? Wouldn't there be a >> link error? > > There won't be a 'duplicate symbol definition', instead, dmd will find > the first file on the import path that defines a module std.process.
Phobos comes as a prebuilt static library, which DMD uses. But Phobos can't be built entirely as a static library if there are two modules with the same name.
