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

Don't look inside functions #242

Merged
merged 8 commits into from
Feb 26, 2024
Merged

Don't look inside functions #242

merged 8 commits into from
Feb 26, 2024

Conversation

snogge
Copy link
Collaborator

@snogge snogge commented Feb 23, 2024

As suggested by @monnier in #241, use OClosures for the wrapped expressions.

Fixes #241.

and update to checkout@v4
The assume macro has been present for a long time but has never been
described in the documentation.
Authored-by: Stefan Monnier
Authored-by: Stefan Monnier
and correct comment `depth'.

Authored-by: Stefan Monnier
OClosures solves the problem in a much better way.

Authored-by: Stefan Monnier
When `buttercup--wrap-expr' uses `buttercup-thunk' OClosures, it
actually returns a form that has to be `eval'ed to get a
`buttercup-thunk'.
This is not an issue when `buttercup--wrap-expr' is used in the
`expect' macro, because the expansion of `expect' will be read/eval:ed
anyway.
But in the tests the return will sometimes have to be explicitly
evaled before it's processed by other functions.
@snogge snogge merged commit 40363d1 into jorgenschaefer:master Feb 26, 2024
14 checks passed
@snogge snogge deleted the oclosure branch February 26, 2024 22:01
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 this pull request may close these issues.

Don't look inside functions
1 participant