LuaBridge3 icon indicating copy to clipboard operation
LuaBridge3 copied to clipboard

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

Open rpatters1 opened this issue 11 months ago • 0 comments

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.

rpatters1 avatar Mar 18 '24 15:03 rpatters1