Thread overview
[Issue 11064] D should support block statements inside functions
Jul 25, 2018
John Hall
Jun 13, 2020
Basile-z
Dec 17, 2022
Iain Buclaw
[Issue 11064] D should support attribute blocks inside functions
Dec 27, 2023
Nick Treleaven
July 25, 2018
https://issues.dlang.org/show_bug.cgi?id=11064

John Hall <john.michael.hall@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |john.michael.hall@gmail.com

--- Comment #1 from John Hall <john.michael.hall@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

--
June 13, 2020
https://issues.dlang.org/show_bug.cgi?id=11064

Basile-z <b2.temp@gmx.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |timosesu@gmail.com

--- Comment #2 from Basile-z <b2.temp@gmx.com> ---
*** Issue 17911 has been marked as a duplicate of this issue. ***

--
December 17, 2022
https://issues.dlang.org/show_bug.cgi?id=11064

Iain Buclaw <ibuclaw@gdcproject.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Priority|P2                          |P4

--
December 27, 2023
https://issues.dlang.org/show_bug.cgi?id=11064

Nick Treleaven <nick@geany.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |nick@geany.org
            Summary|D should support block      |D should support attribute
                   |statements inside functions |blocks inside functions

--