[Issue 20607] [shared] static constructor & co can be called as regular function

d-bugmail at puremagic.com d-bugmail at puremagic.com
Wed Nov 25 03:41:15 UTC 2020


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

Vladimir Panteleev <dlang-bugzilla at thecybershadow.net> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |dlang-bugzilla at thecybershad
                   |                            |ow.net

--- Comment #2 from Vladimir Panteleev <dlang-bugzilla at thecybershadow.net> ---
I don't see why this is a problem as long as it's @system.

Allowing users to access D implementation plumbing at various levels is useful
for things like custom unittest runners, allocation libraries, things like
std.algorithm.move, etc.

--


More information about the Digitalmars-d-bugs mailing list