static if enhancement
Stefan Koch via Digitalmars-d
digitalmars-d at puremagic.com
Fri Jun 24 08:34:42 PDT 2016
On Friday, 24 June 2016 at 15:24:48 UTC, Andrei Alexandrescu
wrote:
> Does anyone else find this annoying?
> https://issues.dlang.org/show_bug.cgi?id=16201 -- Andrei
This would mean treating static if's differently if they alter
control flow in a scope larger then themselves.
Special casing a static if that returns would not be as bad.
But with the current state of the compiler I would hold of on
such complications.
More information about the Digitalmars-d
mailing list