compiler flag for "preview all"
Bruce Carneal
bcarneal at gmail.com
Tue Jun 30 04:39:19 UTC 2020
On Tuesday, 30 June 2020 at 04:23:23 UTC, Mathias LANG wrote:
> On Monday, 29 June 2020 at 23:31:16 UTC, Bruce Carneal wrote:
>> One of the ideas floated at beerconf was that of a single
>> compiler flag activating all "preview" options. [...]
>>
>> The ldc and dmd documentation say that the preview=all flag
>> will list all available preview options, but in my testing
>> both ldc 1.22.0 and dmd 2.091.1 treat preview=all as an error.
>> [...]
>
> It was always intended to work this way, but it seems to have
> broken at some point.
> Well, next release: https://github.com/dlang/dmd/pull/11348
Thanks Mathias. Nicely localized fix and quickly done. It'll
still trigger 20994 and others of its ilk of course but that's a
good thing.
More information about the Digitalmars-d
mailing list