mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
If an import-as-member property was used in a key path, we'd try to identify the component by its foreign-to-native thunk, which isn't normally generated (causing a crash from the missing symbol) and wouldn't be globally unique even if it were. Fixes rdar://problem/60519829.
6 lines
128 B
C
6 lines
128 B
C
|
|
typedef struct Butt { } Butt;
|
|
|
|
extern int ButtSize(const Butt *butt)
|
|
__attribute__((swift_name("getter:Butt.size(self:)")));
|