Skip to content

msg_send should verify the type encoding of arguments and return #10

New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Closed
SSheldon opened this issue Feb 13, 2015 · 2 comments
Closed

msg_send should verify the type encoding of arguments and return #10

SSheldon opened this issue Feb 13, 2015 · 2 comments

Comments

@SSheldon
Copy link
Owner

At runtime, msg_send! could verify that the encoding of arguments and the return type matches those specified by the Objective-C runtime. This would help catch errors from mismatched types.

@SSheldon
Copy link
Owner Author

This is blocked by #11.

@SSheldon
Copy link
Owner Author

Verifying return type encodings was dropped in 51139b9 and #11 was closed because it wouldn't have helped. This issue should be expanded to include adding verification back.

@SSheldon SSheldon changed the title send_message_verified should verify the type encoding of arguments msg_send should verify the type encoding of arguments and return Mar 16, 2015
madsmtm added a commit to madsmtm/rust-objc that referenced this issue Oct 1, 2021
Implement `Encode` for arrays using const generics
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant