[Issue 11064] D should support block statements inside functions
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Wed Jul 25 21:21:05 UTC 2018
https://issues.dlang.org/show_bug.cgi?id=11064
John Hall <john.michael.hall at gmail.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |john.michael.hall at gmail.com
--- Comment #1 from John Hall <john.michael.hall at gmail.com> ---
I couldn't agree more. I just came across this [1]. It also applies to UDAs. I
was trying to figure out how to add a UDA to an instance of a struct and then
potentially change the behavior of the struct depending on the UDA. For
instance, to enable one to control whether casting is allowed within a block.
[1] https://forum.dlang.org/post/zpjpwxclnqlnmtehktvx@forum.dlang.org
--
More information about the Digitalmars-d-bugs
mailing list