mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
This patch prevents writing ivar field for ObjC property whose type is not trivially representable in ObjC within its DeclContext. For example, in the case of the property `@objc var foo: String`, it is accessed as an NSString on the ObjC side. Without this patch, this property is backed with an ivar, to which direct accesses would fail. Resolves: SR-9557.
2.2 KiB
2.2 KiB