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
The first call to doSomething() works but the second call will crash. Code compiles without error but throws a unrecognized selector exception at runtime. Removing the where clause on the protocol or adding @objc to the protocol fixes the issue.
The text was updated successfully, but these errors were encountered:
Environment
Apple Swift version 4.0.3 (swiftlang-900.0.74.1 clang-900.0.39.2)
Additional Detail from JIRA
md5: 820a2bceac80da79f61ab0926f8a97cf
duplicates:
relates to:
Issue Description:
The first call to
doSomething()
works but the second call will crash. Code compiles without error but throws a unrecognized selector exception at runtime. Removing thewhere
clause on the protocol or adding@objc
to the protocol fixes the issue.The text was updated successfully, but these errors were encountered: