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
Using the latest pre-release 0.2.180221-dev-20180516000001 -[NSObject conformsToProtocol:] does not work.
To reproduce the issue the Protocol, the object that implements the Protocol, and the code that calls -[NSObject conformsToProtocol:] need to be in separate source files.
If all 3 are defined in the same source file then it works as expected.
Using the latest pre-release 0.2.180221-dev-20180516000001
-[NSObject conformsToProtocol:]
does not work.To reproduce the issue the Protocol, the object that implements the Protocol, and the code that calls
-[NSObject conformsToProtocol:]
need to be in separate source files.If all 3 are defined in the same source file then it works as expected.
For example:
TestProtocol.h
TestObject.h
TestObject.m
In some other source file...
This will result in
conformsToProtocol:
to returnFALSE
and printingNO
.The text was updated successfully, but these errors were encountered: