[Issue 5202] opIndexAssign doesn't work on structs obtained via getters

d-bugmail at puremagic.com d-bugmail at puremagic.com
Sat Nov 13 03:15:03 PST 2010


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


yebblies <yebblies at gmail.com> changed:

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


--- Comment #2 from yebblies <yebblies at gmail.com> 2010-11-13 03:13:46 PST ---
Is this supposed to work?

It seems to me that this would require property rewriting, which is not
supported.

What would you expect this to do if the compiler did accept it, considering
that getter() does not return by ref?

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


More information about the Digitalmars-d-bugs mailing list