Disallow null references in safe code?

Andrei Alexandrescu SeeWebsiteForEmail at erdani.org
Tue Feb 4 10:17:37 PST 2014


On 2/4/14, 12:32 AM, deadalnix wrote:
> On Tuesday, 4 February 2014 at 06:49:57 UTC, Andrei Alexandrescu wrote:
>>> That would be awesome. The breakage involved, is quite high however.
>>
>> No breakage if the opt-in flag is not used.
>>
>> Andrei
>
> OK, If you are willing to do that change, I'm 200% behind !
>
> Question, why do you propose to use @nullable instead of Nullable!T ?

Because it will be inferred locally, and we have precedent for that with 
attributes but not with type constructors.

Andrei



More information about the Digitalmars-d mailing list