NotNull pointers

Walter Bright newshound2 at digitalmars.com
Mon Aug 29 17:15:00 PDT 2011


On 8/29/2011 5:11 PM, Walter Bright wrote:
> On 8/29/2011 4:52 PM, bearophile wrote:
>> alias NotNull!(Foo*) NFooP;
>>
>> void bar(NFooP foop) { // Error: variable test2.bar.foop initializer required
>> for type NotNull!(Foo*)
>
> Looks like you found a bug. I'll take care of it.

Fixed. Keep 'em coming!

https://github.com/D-Programming-Language/dmd/commit/883ccdb8b2d423de0f028522edd0c91b5992113f


More information about the Digitalmars-d mailing list