On Monday, 15 July 2024 at 11:16:23 UTC, Nick Treleaven wrote:
I put `type_s` in a file anonstruct.c, then: ```d import anonstruct;pragma(msg, isStatic!(type_s.c)); ```That outputs `false`, because the symbol is not a compile-time value. Is that what you meant?
No, I am here deal with a lot type and structs, no symbol problem yet.
I guess the problem cause by the subtype has a hidden pointer to parent.