Protocol Property Collision

Originator:an00na
Number:rdar://39024725 Date Originated:March 29 2018, 10:08 PM
Status:Closed Resolved:Xcode 10
Product:Developer Tools Product Version:9.3
Classification:Other Bug Reproducible:Always
 
Summary:
Protocol A declares property p as strong, protocol B declares property p as readonly, conforming class synthesizes p, gets compile error: Property with attribute 'retain (or strong)' was selected for synthesis.

It is new in Xcode 9.3 and ObjC only(Swift version compiles fine).

Expected Results:
No compile error.

Code: https://mega.nz/#!0KBWhLKS!8QV2TXOygFQ6CJ9ISAH-AycutyU6HG5grFnZQR3HZa8

Comments


Please note: Reports posted here will not necessarily be seen by Apple. All problems should be submitted at bugreport.apple.com before they are posted here. Please only post information for Radars that you have filed yourself, and please do not include Apple confidential information in your posts. Thank you!