LuaBridge3
LuaBridge3 copied to clipboard
added test to show call-with-handler-failure.
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.