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

added test to show call-with-handler-failure. #183

Open
wants to merge 3 commits into
base: dev/improved_call_with_handler
Choose a base branch
from

Conversation

rpatters1
Copy link
Contributor

@rpatters1 rpatters1 commented Mar 18, 2024

This PR adds a test that illustrates a bug in the callWithHandler function. For some reason when this boolean valued Lua function is called, it returns 2 values instead of one, and the first value is not a boolean.

If you change the handler to std::ignore, the problem does not occur.

Also, as an aside, the CallableWithNullifiedStdFunction test aborts the test program when running NoExcept.

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.

1 participant