On Friday, 3 July 2015 at 10:59:43 UTC, deadalnix wrote:
They can't, it is not implemented. It should e possible and pure is broken for them.
void main(string[] args)
{
void foo() immutable
{
}
}
That compiles and works as expected, it seems to be implemented
at least for nested functions. I didn't know about it before
because it wasn't documented anywhere and it does not work for
anonymous delegates. >.>
