Disallow arrays as pointers

Don nospam at nospam.com
Sat Nov 5 22:50:49 PDT 2011


On 05.11.2011 12:35, Dejan Lekic wrote:
> On Sun, 30 Oct 2011 17:29:36 -0400, bearophile wrote:
>
>>
>> Do you see the bug I have found during the debugging?
>>
>> I think the D2 compiler has to catch this bug:
>>
>> *array = ...;
>>
>
> It is not a bug, it is a feature. If you really do not like it, use
> the .ptr property. :)

It was a bug. And it's now been fixed.


More information about the Digitalmars-d mailing list