Skip to content
This repository has been archived by the owner. It is now read-only.

Table infinite loop simpler fix #17

Merged
merged 2 commits into from
Nov 17, 2019
Merged

Conversation

lblasc
Copy link

@lblasc lblasc commented Oct 31, 2019

OpenResty luajit fork reverted 7d5f5be, see: LuaJIT#494 (comment). I think it is beneficial do to the same in moonjit until this is resolved correctly.

Thank you for taking maintainership of LuaJIT in this new fork. Keep up the good work!

lblasc and others added 2 commits October 31, 2019 11:58
… for the patch."

This reverts commit 7d5f5be.

That patch might make lua tables keys mysteriously disappear in
production.
@siddhesh
Copy link
Collaborator

siddhesh commented Nov 1, 2019

I believe the simpler fix broke a test in the testsuite and it was silenced in luajit2. Can you please verify that the breakage is relatively harmless? I have incorporated that test into moonjit, so a make check ought to be sufficient to verify.

@siddhesh
Copy link
Collaborator

siddhesh commented Nov 9, 2019

Hi, there's CI integrated into the PR workflow now, so you can simply amend your commits and set off tests to check if this change breaks anything.

@siddhesh
Copy link
Collaborator

Confirmed that reverting the fix causes the test openresty/luajit2-test-suite@22d0cf7 to fail.

@siddhesh
Copy link
Collaborator

OK so I went through the issue and it looks like the failing test case can be taken up as a separate issue and that the infinite loop fix could be simply fixed with this patch. I'll pull this into v2.1 as well.

Thanks @lblasc !

@siddhesh siddhesh merged commit 3f39980 into moonjit:master Nov 17, 2019
@lblasc lblasc deleted the table-infinite-loop branch November 17, 2019 20:59
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants