Preventing another 1028
Les De Ridder
les at lesderid.net
Thu May 28 11:31:35 UTC 2020
On Thursday, 28 May 2020 at 11:13:07 UTC, Johannes Loher wrote:
...
>>
>> Not exactly proof, but:
>> https://www.strawpoll.me/20184671/r
>>
>> (The "@safe" option is what's proposed in DIP 1028.)
>
> I'm really missing a third option in that poll: The default for
> all declarations should be @safe, but extern(not-D) @safe
> declarations should be a compile error, regardless of if @safe
> is explicit or implicit. That forces an explicit decision
> between @system and @trusted for every extern(non-D)
> declaration.
The OP of the poll said: "People that think it should be
@trusted, vote
@safe, it's pretty much the same thing." ...
More information about the Digitalmars-d
mailing list