DIP 1028---Make @safe the Default---Community Review Round 1

Steven Schveighoffer schveiguy at gmail.com
Sun Jan 5 02:44:56 UTC 2020


On 1/4/20 4:17 PM, Walter Bright wrote:
> On 1/4/2020 2:22 AM, WebFreak001 wrote:
>> Currently a lot of issues are caused by phobos' std.bitmanip.bitfields.
> 
> Please add all issues to Bugzilla.

This isn't an issue, because the DIP is not part of the language yet.

The problem is that a function used by CTFE in there is not marked, and 
does an array cast (so safe by default rejects it). I've already 
submitted a change, and it's already helped with WebFreak's tests: 
https://github.com/dlang/phobos/pull/7343.

Should be merged shortly.

-Steve


More information about the Digitalmars-d mailing list