You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I complained about this years ago in radar 19730251 (Xcode 6.2) but nothing has happened so I'm adding a bug here as well. As I said in my radar, to allow me to declare `song2` optional and get-set but then not to allow me to set it is incoherent at best. Ideally I should be able to set it, because why on earth not?
The text was updated successfully, but these errors were encountered:
Here we are in Xcode 10 and Swift 4.2 and this has not been addressed. I realize that it must seem fairly minor, but it comes up for me year after year so I thought I'd ask again what sense this makes.
In my opinion this code should compile and work. If `f2` implements `song2`, we should be able to set it. If not, nothing happens and no harm done.
Environment
Xcode Version 9.0 beta 3 (9M174d)
Additional Detail from JIRA
md5: 89a4dcbcf56d5035b26555315b427f3c
is duplicated by:
relates to:
Issue Description:
Here's a protocol:
Now adopt Flier:
The problem is that it is impossible to set this property in a declared Flier:
I complained about this years ago in radar 19730251 (Xcode 6.2) but nothing has happened so I'm adding a bug here as well. As I said in my radar, to allow me to declare `song2` optional and get-set but then not to allow me to set it is incoherent at best. Ideally I should be able to set it, because why on earth not?
The text was updated successfully, but these errors were encountered: