Call to Action: making Phobos @safe

Walter Bright via Digitalmars-d digitalmars-d at puremagic.com
Wed Jun 29 13:57:09 PDT 2016


On 6/29/2016 10:25 AM, Atila Neves wrote:
> On Saturday, 25 June 2016 at 22:56:12 UTC, Walter Bright wrote:
>> On 6/25/2016 3:44 PM, Walter Bright wrote:
>>> 4. Add @safe to the unittest
>>
>> A unittest that is deliberately unsafe should be annotated with @system.
>> Meaning that any un-annotated unittest needs corrective action one way or the
>> other.
>
> What about existing tests that are marked @trusted?

Marking a unittest as @trusted seems pointless.



More information about the Digitalmars-d mailing list