JakobOvrum/LuaD

Lua stack not empty when sharing functions

Closed this issue · 2 comments

This example code will result in assert being thrown, inappropriately.

https://gist.github.com/1278488

Thanks for the bug report and the test case! Your test case has been included as a unittest, tell me which name you want me to use, and I'll add proper credit!

Sorry for being late on this one, I hadn't noticed your report. This bug had been on the back burner for a while, I didn't realize how severe it really was until I saw your test case.

I just found a bug here no need for credit, documented in this bug report anyway. Besides I already get credit for the initial variant patch.