BEP Inconsistency with `luajit -b -d` when Table Contains Nil Elements
Open
Nobody has claimed this yet.
- Dominant language
- C
- Stars
- 1.4k
- Forks
- 252
- Avg merge
- 7d 11h
- Merged PRs (30d)
- 3
Description
when compiling the following code with luajit -b -d at tag v2.1-20240815, BEP inconsistency occurs. It is suspected that this issue happens when table declarations contain nil elements:
local lru = {max_size = 1, size = 0, head = nil, values = {}}
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Reproduce the inconsistency using luajit -b -d at tag v2.1-20240815 with the provided table declaration. Compare the generated BEP output with the same code without nil elements; done means the compiler produces consistent BEP output for both cases.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- lua
- Domain
- compilers
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 35/100