[Issue 11509] AA.dup @property

d-bugmail at puremagic.com d-bugmail at puremagic.com
Wed Nov 13 06:19:08 PST 2013


https://d.puremagic.com/issues/show_bug.cgi?id=11509


bearophile_hugs at eml.cc changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|rejects-valid               |
            Summary|AA.rehash doesn't compile   |AA.dup @property
                   |with -property              |
           Severity|normal                      |enhancement


--- Comment #3 from bearophile_hugs at eml.cc 2013-11-13 06:19:07 PST ---
(In reply to comment #2)
> Currently this is not a bug.
> 
> In object.di, AssociativeArray template struct defines 'rehash' and 'dup'
> method as normal function. So under -property switch, you cannot call them
> without parenthesis.

Thank you. I think AA.dup should become a @property, for uniformity with array
dup.
And perhaps rehash too. So now it's a low priority enhancement request.

-- 
Configure issuemail: https://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------


More information about the Digitalmars-d-bugs mailing list