-
Notifications
You must be signed in to change notification settings - Fork 476
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
WIP: Fix ipairs() for enum attrs #1973
base: develop
Are you sure you want to change the base?
Conversation
fd01fe9
to
f6fe6fb
Compare
this does address a legitimate issue. do you think you will be able to get this done within the release cycle? |
ipairs() currently fails due to DFHack#1860
…ments All values are currently nil
Looking at this again. The Lua layer here is a bit complicated, so no promises. |
f6fe6fb
to
6fc85a6
Compare
I looked into this some. Turns out this is broken because I'm calling an existing ipairs() implementation that uses Line 1343 in f290b1c
but the Lines 1534 to 1536 in f290b1c
so a solution would likely involve a custom By the way, the reason for this implementation is probably because indexing |
Fixes #1860
(Note: I had put this together but evidently never finished it - need to investigate what is missing)
Edit: looks like I didn't make the test pass - that sounds familiar to me now.