Conversation
twyatt
left a comment
There was a problem hiding this comment.
Apologies, it isn't clear to me how this PR is resolving the failure described in the PR description:
-[CBDescriptor service]: unrecognized selector sent to instance 0x128ac2400
The error describes trying to invoke service function on a CBDescriptor but this PR seems to be addressing nullability issues, of which we'd see a different error for if we had a nil reference problem?
Not at all. Not using of |
I see. Everywhere we use |
TBH, I don't know when exactly this matching happens, so that mismatch was not traceable for me. I just tested this code and it was not producing any issues, so I concluded maybe it's a mismatch. |
print something instead of return.
These changes fix the issue regarding inconsistence type inference in iOS. The original error is as follows: