Add test case for Objective-C 2.0 properties bug
authorWincent Colaiuta <win@wincent.com>
Sat, 11 Aug 2007 11:39:50 +0000 (13:39 +0200)
committerWincent Colaiuta <win@wincent.com>
Sat, 11 Aug 2007 11:39:50 +0000 (13:39 +0200)
commit3fa7f33b691ce6e40ba2bc6fe285b2b0c22149c2
treee489d4709ff010214ed9e8539d8f8f0dded2f8c8
parentcb0f52f0562abc8ca8132ec168342d3fef2d14e1
Add test case for Objective-C 2.0 properties bug

In a previous commit (f2d45e3) I noted what appears to be a bug in either the
Objective-C 2.0 properties implementation (spurious compiler warnings) or in
its documentation.

I've prepared this test case demonstrating the problem. In the course of doing
so I discovered that the problem has a workaround that is considerably easier
than I originally thought, and the bug doesn't actually make it impossible to
use the public-readonly/private-readwrite property pattern. I will apply the
new workaround in a subsequent commit.

Signed-off-by: Wincent Colaiuta <win@wincent.com>
other/readonly_readwrite_properties_bug/readonly_readwrite_properties_bug.m [new file with mode: 0644]
other/readonly_readwrite_properties_bug/readonly_readwrite_properties_bug.xcodeproj/project.pbxproj [new file with mode: 0644]
other/readonly_readwrite_properties_bug/readonly_readwrite_properties_bug_Prefix.pch [new file with mode: 0644]