[Issue 22981] Another forward reference bug involving a string mixin
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Sat Apr 30 16:25:34 UTC 2022
https://issues.dlang.org/show_bug.cgi?id=22981
--- Comment #8 from Basile-z <b2.temp at gmx.com> ---
(In reply to Basile-z from comment #7)
> In `S` the non static member `E e` create a cycle but actually with a pass
> dedicated to "static members - only" , the internal enum `S.a` would not
> require `S` semantic to be complete.
reduced more
```
@(S.a)
struct S
{
E e;
enum a = "dfgdf";
}
```
--
More information about the Digitalmars-d-bugs
mailing list