[Issue 23515] Named Enum of function SIGSEGFAULT
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Tue Jan 23 07:52:59 UTC 2024
https://issues.dlang.org/show_bug.cgi?id=23515
--- Comment #5 from Walter Bright <bugzilla at digitalmars.com> ---
The difference between identity being an (){} vs &fun is the first is a direct
function call the second is an address of a function.
I'm not sure yet if the former should be an error, or can be made to work.
Having an enum of function names has never occurred to me.
--
More information about the Digitalmars-d-bugs
mailing list