www.digitalmars.com         C & C++   DMDScript  

digitalmars.D - Wrong array.idup documentation for D1?

reply Leandro Lucarella <llucax gmail.com> writes:
In the D1 specification, in the "Array Properties" section, there is a row
in both static and dynamic arrays tables that says:

.idup  	Create a dynamic array of the same size and copy the contents of
        the array into it. The copy is typed as being invariant. D 2.0 only

I think this entry should be removed.

I wanted to fill a bug but the BTS don't have a "specification" /product/
and I didn't thought that filling it in other product was ok.

http://www.digitalmars.com/d/1.0/arrays.html

-- 
Leandro Lucarella (luca) | Blog colectivo: http://www.mazziblog.com.ar/blog/
----------------------------------------------------------------------------
GPG Key: 5F5A8D05 (F8CD F9A7 BF00 5431 4145  104C 949E BFB6 5F5A 8D05)
----------------------------------------------------------------------------
If you do not change your beliefs
Your life will always be like this
Feb 26 2008
parent "Stewart Gordon" <smjg_1998 yahoo.com> writes:
"Leandro Lucarella" <llucax gmail.com> wrote in message 
news:20080226133216.GA19065 burns.springfield.home...
 In the D1 specification, in the "Array Properties" section, there is a row
 in both static and dynamic arrays tables that says:

 .idup  Create a dynamic array of the same size and copy the contents of
        the array into it. The copy is typed as being invariant. D 2.0 only

 I think this entry should be removed.

It definitely shouldn't be there.
 I wanted to fill a bug but the BTS don't have a "specification" /product/
 and I didn't thought that filling it in other product was ok.

The correct filing for such issues is Product: D Component: www.digitalmars.com Stewart. -- My e-mail address is valid but not my primary mailbox. Please keep replies on the 'group where everybody may benefit.
May 29 2008