Bug 19376 – Do not generate object file from .di file passed on command line
Status
RESOLVED
Resolution
FIXED
Severity
normal
Priority
P1
Component
dmd
Product
D
Version
D2
Platform
All
OS
All
Creation time
2018-11-08T00:10:22Z
Last change time
2018-11-08T08:12:49Z
Assigned to
No Owner
Creator
Walter Bright
Comments
Comment #0 by bugzilla — 2018-11-08T00:10:22Z
A .di file is only supposed to be an interface. Generating code from it causes a collision with the object code generated by the corresponding .d file.
.di files can be passed on the command line if they have different paths/names from the module declaration in the file itself.