www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.bugs - Possible bug with dereference operator + arrays

The implicit T[] -> T* conversion disappeared, but there may still be 
vestiges.  You can still dereference an array to get the first element:

int[] a = [1, 2];

This is mostly a problem with determining if a type is an array type or a 
pointer type, since is(typeof(*T)) will return true if T is an int[] or if 
it's an int*. 
Feb 14 2007