parent
43e12900d9
commit
baf4b7d734
|
@ -418,7 +418,7 @@ Sema::HandlePropertyInClassExtension(Scope *S,
|
|||
}
|
||||
|
||||
// A readonly property declared in the primary class can be refined
|
||||
// by adding a rewrite property within an extension.
|
||||
// by adding a readwrite property within an extension.
|
||||
// Anything else is an error.
|
||||
unsigned PIkind = PIDecl->getPropertyAttributesAsWritten();
|
||||
if (!(isReadWrite && (PIkind & ObjCPropertyDecl::OBJC_PR_readonly))) {
|
||||
|
|
Loading…
Reference in New Issue