On Friday, 28 August 2020 at 12:45:24 UTC, Jacob Carlborg wrote:
>
> There's a workaround: define bool enums for all version
> identifiers and use `static if` instead:
>
> version (OSX)
> enum OSX = true;
> else
> enum OSX = false;
>
> static if (!OSX) {}
>
> --
> /Jacob Carlborg
Why use `version` then?