Phobos is now compiled with -preview=dip1000

Seb seb at
Wed May 15 07:29:14 UTC 2019

On Wednesday, 15 May 2019 at 07:56:48 UTC, Walter Bright wrote:
> On 5/14/2019 11:49 PM, Dukc wrote:
>>> Time to start compiling your projects with DIP1000, too!
>> For me, the forum claims that your posting time is "from the 
>> future". Does that mean that is has somehow leaked a draft and 
>> this shouldn't show yet?
> Maybe the clock is not synchronized somewhere.
>> About -DIP1000, I sure want to use it. But is there currently 
>> any practical way to learn it's usage without researching 
>> compiler source code?
> Simply add the switch -preview=dip1000 to your builds, and 
> follow where it leads.

For reference, people need to use dmd-nightly (available 
tomorrow), build dmd themselves or wait until DMD 2.087 (1st of 

Also, as most projects use Dub, the flag can be added to the 
dub.sdl too:

dflags "-preview=dip1000"

More information about the Digitalmars-d-announce mailing list