https://issues.dlang.org/show_bug.cgi?id=17939
Issue ID: 17939
Summary: extern(C) function support with non-C attributes/types
should be documented
Product: D
Version: D2
Hardware: All
OS: All
Status: NEW
Keywords: spec
Severity: enhancement
Priority: P1
Component: dlang.org
Assignee: [email protected]
Reporter: [email protected]
In issue 7854, Walter says that allowing non-C attributes in extern(C) function
parameters is a "feature":
https://issues.dlang.org/show_bug.cgi?id=7854#c15
Therefore, I'm opening this enhancement request for making the spec reflect
definitively how this feature works. I think a clear explanation will help
compiler developers, and will help users understand what actually happens.
See also Walter's PR that uses this feature:
https://github.com/dlang/druntime/pull/1917
--