Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[SR-1029] Can't use implicit property setter as #selector #43641

Open
swift-ci opened this issue Mar 23, 2016 · 2 comments
Open

[SR-1029] Can't use implicit property setter as #selector #43641

swift-ci opened this issue Mar 23, 2016 · 2 comments
Labels
bug A deviation from expected or documented behavior. Also: expected but undesirable behavior. compiler The Swift compiler in itself feature A feature request or implementation

Comments

@swift-ci
Copy link
Collaborator

Previous ID SR-1029
Radar None
Original Reporter Kyro (JIRA User)
Type Bug
Environment

All

Additional Detail from JIRA
Votes 0
Component/s Compiler
Labels Bug, LanguageFeatureRequest
Assignee None
Priority Medium

md5: c77de57ad7683897a78a5ff77ca88bbf

Issue Description:

Using the new selector syntax ( #selector(setMyProperty) ), it is impossible to give a implicit setter (no real setter method written) although `Selector("setMyProperty:")` works seamlessly.

@belkadan
Copy link
Contributor

There's a proposal being discussed on swift-evolution to provide syntax for referring to getters and setters.

@Dante-Broggi
Copy link
Contributor

I believe this should have been closed after SE-0064 was implemented in Swift 3.

@swift-ci swift-ci transferred this issue from apple/swift-issues Apr 25, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug A deviation from expected or documented behavior. Also: expected but undesirable behavior. compiler The Swift compiler in itself feature A feature request or implementation
Projects
None yet
Development

No branches or pull requests

3 participants