Disallow arrays as pointers

Dejan Lekic dejan.lekic at gmail.com
Sat Nov 5 04:35:39 PDT 2011


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. :)


More information about the Digitalmars-d mailing list