https://issues.dlang.org/show_bug.cgi?id=24270

Basile-z <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |[email protected]

--- Comment #4 from Basile-z <[email protected]> ---
(In reply to Nick Treleaven from comment #3)
> Just to note that this compiles fine:
> 
> struct S(T)
> {
>     int i;
>     T m;
> }
> struct R {
>     int i;
>     S!(R)* m;
> }

The problem shows the tip of its nose when performing static introspection and
while the decl sema of the struct is not finished. Just start doing some
`__traits` things and you'll get some similar errors.

Note that actually I think the error message is correct (and this report is
likely a duplicate BTW, already seen that `hasIndirection` issue in the past)

--

Reply via email to