Bill Baxter wrote:
But there's more to it than that.

There's an object.d in src/phobos with a prototype for a print() function.
But the object.di in src/druntime/import does not have a print() function.

So maybe the phobos.lib included was built using the old object.d
instead of the new one from druntime?

I see the problem. The phobos.lib was built correctly, but I'd forgotten to remove the old object.d. If you simply delete /dmd/src/phobos/object.d, it should work.

Reply via email to