August 03, 2021

On Tuesday, 3 August 2021 at 10:28:53 UTC, Rekel wrote:

>

On Tuesday, 3 August 2021 at 00:53:43 UTC, user1234 wrote:

>

You got the answer in another reply but here is a bit of more fun:

void main() {
    return cast(void) 1;
}

What does casting to void do? Does it just ignore whatever follows it?

Yes.

1 2
Next ›   Last »