[Issue 14689] dmd should optionally generate #line directives in the .di file
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Mon Oct 10 05:32:57 UTC 2022
https://issues.dlang.org/show_bug.cgi?id=14689
RazvanN <razvan.nitu1305 at gmail.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
CC| |razvan.nitu1305 at gmail.com
Resolution|--- |WONTFIX
--- Comment #1 from RazvanN <razvan.nitu1305 at gmail.com> ---
I don't think .di files are meant for that purpose. Header files should
generally be used by the compiler to speed up the build process. As a
consequence I don't see any reason why comments or line directives should be
included.
Even if we were to implement this enhancement request, we would probably need
to another cli switch (like -Hv) and in my opinion that is not worth it.
Another reason to close this is the fact that nobody else has requested this
feature in the last 7 years.
I am going to close this as WONTFIX, however, feel free to reopen if you
disagree with my assessment.
--
More information about the Digitalmars-d-bugs
mailing list