DCD icon indicating copy to clipboard operation
DCD copied to clipboard

Opaque aggregate declarations will shadow later detailled declarations.

Open jnms-me opened this issue 4 months ago • 0 comments

The following fails:

a.d:

module a;
struct A;
struct A
{
    int member;
}

b.d:

import a;typeof(A.
dcd-server -I. &
dcd-client b.d -c18 | grep member

But works fine if the first opaque struct declaration is removed.

I believe this is related to #397.

jnms-me avatar Oct 29 '25 14:10 jnms-me