Bug (and patch) in objc method lookup

A path to solve a method lookup issue with protocol chain.
Uses lookupClassMethod() and lookupInstanceMethod() instead of getClassMethod() and getInstanceMethod() on each declared protocol, so clang will also search in inherited protocol and not just in the leaf protocol.

protocol-lookup.patch (974 Bytes)

Thanks for the test/fix