We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
md5: fa805ce4904bb3d8703d2974915a4bfa
Issue Description:
Testing the metatype of an @objc protocol against AnyObject.Type produces a false warning:
import Foundation @objc protocol ObjCProto { } print(ObjCProto.self is AnyObject.Type) // Warning: 'is' test is always true // Prints 'false'
The text was updated successfully, but these errors were encountered:
Hm, I think the compiler is indeed the one in the wrong here. @slavapestov?
Sorry, something went wrong.
No branches or pull requests
Additional Detail from JIRA
md5: fa805ce4904bb3d8703d2974915a4bfa
Issue Description:
Testing the metatype of an @objc protocol against AnyObject.Type produces a false warning:
The text was updated successfully, but these errors were encountered: