Re-add forward declaration of _d_monitordelete#964
Re-add forward declaration of _d_monitordelete#964braddr merged 1 commit intodlang:masterfrom ibuclaw:fixsepcomp
Conversation
|
Auto-merge toggled on |
Re-add forward declaration of _d_monitordelete
So should we compile object_.d separately? |
|
It's a weird situation, because object_.d is magic. This isn't a user-facing issue.
If we are concerned about druntime modules compiling correctly with object.di, then we should probably compile them again object.di. |
|
I wonder why we don't generate object.di from object_d. I tried that and compared the results:
Overall I think we gain by autogenerating object.di. That would still mean that there needs to be a separate build step when compiling without object_.d. |
Or rely on gdc telling you your code is wrong... a couple of months after release. ;) |
Sure, either way works. |
Fixes bug introduced by #749
GDC compiles each module separately, unlike DMD, so gets hit by an 'undefined identifier' error. DMD doesn't get it because the private version of object.d is implicitly imported.