On Saturday, 7 January 2017 at 15:59:47 UTC, Martin Nowak wrote:
On 01/07/2017 03:44 PM, biozic wrote:
Are phobos unittests not passing when compiling with -dip1000
considered bugs or is it this experimental?
Most of phobos is currently not usable with DIP1000, partly
because
safety checks are hard errors (instead of deprecations) and
partly
because of implementation bugs.
You can try it experimentally with isolated code snippets.
Don't expect much documentation or help at this stage, the
feature will
properly released when it's finished.
Any way to escape pointers in @safe code with -dip1000 enabled
are considered bugs and should be reported under
issues.dlang.org using the `safe` keyword and `[scope]` in the
title.
https://issues.dlang.org/buglist.cgi?keywords=safe&keywords_type=allwords&query_format=advanced&resolution=---&short_desc=%5Bscope%5D&short_desc_type=substring
-Martin
Thanks for the precisions!