Issue 12344 - .di generation doesn't include contracts in interfaces
Summary: .di generation doesn't include contracts in interfaces
Status: RESOLVED FIXED
Alias: None
Product: D
Classification: Unclassified
Component: dmd (show other issues)
Version: D2
Hardware: All All
: P2 normal
Assignee: No Owner
URL:
Keywords: pull
Depends on: 6549
Blocks:
  Show dependency treegraph
 
Reported: 2014-03-10 20:48 UTC by Adam D. Ruppe
Modified: 2022-04-07 12:03 UTC (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this issue.
Description Adam D. Ruppe 2014-03-10 20:48:29 UTC
Since contracts are logically part of an interface, they should be included in the automatically generated .di file

See also: https://d.puremagic.com/issues/show_bug.cgi?id=6549 as to why it won't work for abstract classes or even interface files without the bodies.
Comment 1 Dlang Bot 2022-04-03 14:18:33 UTC
@dkorpel created dlang/dmd pull request #13943 "Fix Issue 12344 - .di generation doesn't include contracts in interfaces" fixing this issue:

- Fix Issue 12344 - .di generation doesn't include contracts in interfaces

https://github.com/dlang/dmd/pull/13943
Comment 2 Dlang Bot 2022-04-07 12:03:45 UTC
dlang/dmd pull request #13943 "Fix Issue 12344 - .di generation doesn't include contracts in interfaces" was merged into master:

- d42016e159126e21125fdbd7ffb9c4bf0376d732 by Dennis Korpel:
  Fix Issue 12344 - .di generation doesn't include contracts in interfaces

https://github.com/dlang/dmd/pull/13943