[LLVMbugs] [Bug 12959] property with custom getter/setter can't resolve setter when using custom getter as . notation setter

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Tue May 29 17:08:59 PDT 2012


Ted Kremenek <kremenek at apple.com> changed:

           What    |Removed                     |Added
             Status|REOPENED                    |RESOLVED
         Resolution|                            |INVALID

--- Comment #13 from Ted Kremenek <kremenek at apple.com> 2012-05-29 19:08:59 CDT ---
I looked at this some more.  The issue is that the code does:

                setter.delegate = delegate;

instead of:

                setter._delegate = delegate;

The first is incorrect because property access via assignment always uses the
name of the *property*, and the name of the property is _delegate.  It was a
bug that this worked before.

Configure bugmail: http://llvm.org/bugs/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.

More information about the llvm-bugs mailing list