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
tkrajacic opened this issue
Apr 13, 2018
· 4 comments
Labels
bugA deviation from expected or documented behavior. Also: expected but undesirable behavior.compilerThe Swift compiler in itselfruntimeThe Swift Runtime
When conforming to an @objc protocol, the check using `is` can't get the original type information.
In the Playground, uncomment the @objc in front of the protocol and suddenly the check at the end doesn't pick up on the fact that the passed type is in fact a `User.Type`
bugA deviation from expected or documented behavior. Also: expected but undesirable behavior.compilerThe Swift compiler in itselfruntimeThe Swift Runtime
Additional Detail from JIRA
md5: be79066c5a2ee131780c4b6bfd8678cb
Issue Description:
When conforming to an @objc protocol, the check using `is` can't get the original type information.
In the Playground, uncomment the @objc in front of the protocol and suddenly the check at the end doesn't pick up on the fact that the passed type is in fact a `User.Type`
The text was updated successfully, but these errors were encountered: