libmir/mir-algorithm

Public imports in documentation

Closed this issue · 3 comments

D issue 10665 fixes the problem of public imports not showing up in documentation. However, the documentation for the mir projects do not seem to have the public imports listed currently.

9il commented

Likely we need to update the docker image with the compiler.

The current behavior is actually correct behavior -- see here. Documentation isn't emitted for plain public imports, they're only emitted if they have a DDoc comment associated with them. You can see this working here where the public import is actually annotated: https://github.com/libmir/mir-core/blob/87fea6c28223ed5ad46a3c97b2282fcfc736f193/source/mir/utility.d#L28-L32

@hatf0 Ah, ok. Thanks for confirming.