[Issue 5729] taking the address of a @property doesn't work

d-bugmail at puremagic.com d-bugmail at puremagic.com
Fri Mar 28 20:57:22 PDT 2014


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



--- Comment #4 from Kenji Hara <k.hara.pg at gmail.com> 2014-03-28 20:57:12 PDT ---
(In reply to comment #3)
> &a.bla correctly gets the address of the function.  If this were changed for
> @properties only, as you seem to suggest, then how would one go about getting
> the address of the actual function?  It would also lead to different semantics
> from the same syntax depending on whether the function were marked @property,
> which is highly undesirable (do you want to go check the class definition every
> time you want to get an address?)

I agree with this argument.

-- 
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