mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
When Objective-c methods are imported into Swift, the labels are transforms to remove suffixes based on the type of the parameter. Due to the structure of NS_OPTION when importing in C++ mode, there is some special handling for this case introduced in PR #59421. This patch fixes some of this hanlding for when a multi-word suffix needs removing, specifically 'ControlEvents' and 'ScrollPosition'.
5.5 KiB
5.5 KiB