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

Clause incorrectly invokes typep for multiple return values. #4

Open
nklein opened this issue Sep 23, 2024 · 0 comments
Open

Clause incorrectly invokes typep for multiple return values. #4

nklein opened this issue Sep 23, 2024 · 0 comments

Comments

@nklein
Copy link
Contributor

nklein commented Sep 23, 2024

The expectations for returns with multiple values (expectations.lisp:158) is missing the reference to the type.

Example:

(with-expectations (> speed safety)
        ((returns fixnum fixnum))
    (values 1 2))

The typep clause in that unless should be (typep (nth ,i ,result) ',type).

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

No branches or pull requests

1 participant