-
Notifications
You must be signed in to change notification settings - Fork 10.3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Allow 'Any' as an IBAction's sender and an IBOutlet's type. (#4320)
With id-as-Any, /existing/ IBAction methods that have unconstrained sender parameters are being imported as taking 'Any?', and those methods then can't be overridden in Swift. We still don't allow arbitrary bridgeable types for IBActions and IBOutlets. This makes enough sense for value types, but might get us into trouble with swift_newtype at some point. rdar://problem/27853737
- Loading branch information
1 parent
560ffef
commit ed01f89
Showing
3 changed files
with
12 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters