[Issue 1600] Functions taking only one array cannot be called with property syntax

d-bugmail at puremagic.com d-bugmail at puremagic.com
Wed Oct 31 01:27:56 PDT 2007


http://d.puremagic.com/issues/show_bug.cgi?id=1600


wbaxter at gmail.com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |wbaxter at gmail.com




------- Comment #1 from wbaxter at gmail.com  2007-10-31 03:27 -------
It's especially bad since built-in properties have the opposite restriction.

{
   int[] a;
   a.sort(); // error!
   a.sort; // fine
}

Personally I think the () variety should be allowed for the built-in properties
also.


-- 



More information about the Digitalmars-d-bugs mailing list