On Mon, 15 Apr 2013 13:03:07 -0400, Andrej Mitrovic
<[email protected]> wrote:
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.
Yes, that was my question, the library will define two std.process. What
would happen?
-Steve