[Issue 21141] No introspection access to a field's default value

d-bugmail at puremagic.com d-bugmail at puremagic.com
Mon Aug 10 01:32:40 UTC 2020


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

Adam D. Ruppe <destructionator at gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |destructionator at gmail.com

--- Comment #1 from Adam D. Ruppe <destructionator at gmail.com> ---
A string is going to hit trouble with module imports and such. It could
possibly be a function though, and a void function represents the void
initializer. (hopefully this would be a function the compiler knows it can
always ctfe optimize away).

--


More information about the Digitalmars-d-bugs mailing list