DIP1028 - Rationale for accepting as is
Andrei Alexandrescu
SeeWebsiteForEmail at erdani.org
Thu May 28 00:24:25 UTC 2020
On 5/27/20 9:42 AM, Andrej Mitrovic wrote:
> On Wednesday, 27 May 2020 at 09:50:50 UTC, Walter Bright wrote:
>> Un-annotated C declarations should be a red flag to any competent QA
>> team. Recognizing a false @trusted is a whole lot harder.
>
> Is the actual problem those `@trusted:` declarations at the top of C
> headers?
>
> There could be a simple solution to that:
>
> Ban `@trusted:` and `@trusted { }` which apply to multiple symbols. Only
> allow `@trusted` to apply to a single symbol. For example:
Oh wow what an interesting idea. Thanks.
More information about the Digitalmars-d-announce
mailing list