pseudo array properties

Derek Parnell derek at nomail.afraid.org
Thu Jul 5 18:52:38 PDT 2007


In V2, were we meant to lose the (undocumented) facility to have pseudo
properties for arrays?

In other words, the code below compiled and ran for V1 but it doesn't for
V2.

char[] foo(char[] a) { return a; }
void main()
{
    char[] q;
    q = q.foo;  // Invoke 'foo' as if it were a property.
}


-- 
Derek
(skype: derek.j.parnell)
Melbourne, Australia
6/07/2007 11:50:31 AM



More information about the Digitalmars-d mailing list