Files
swift-mirror/test/SILGen/Inputs/keypaths_objc.h
Joe Groff 9830f394c1 SILGen/IRGen/KeyPaths: Components for ObjC properties need to be identified by selector.
A property imported from Objective-C, or marked in Swift with the `dynamic` keyword, doesn't have a vtable slot, so can't be identified that way. Use the ObjC selector as the unique identifier to ascribe equality to such components. Fixes rdar://problem/31768669. (While we're here, throw some more execution tests and a changelog note in.)
2017-05-11 14:28:19 -07:00

8 lines
96 B
Objective-C

@import Foundation;
@interface ObjCFoo
@property(readonly) NSString *_Nonnull objcProp;
@end