Skip to content
New issue

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

Lisp RPCQ balks on serializing rationals living in float slots #23

Open
ecpeterson opened this issue Dec 13, 2018 · 0 comments
Open

Lisp RPCQ balks on serializing rationals living in float slots #23

ecpeterson opened this issue Dec 13, 2018 · 0 comments
Assignees

Comments

@ecpeterson
Copy link
Contributor

Lisp won't prevent you from storing a rational into a slot marked for floats, but when you go to serialize the object, it'll throw an exception. Either messages should be type-safe enough to catch this error at assignment time (or at compile time!), or rationals should be coerced into floats before handoff to cl-messagepack.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants