-
Notifications
You must be signed in to change notification settings - Fork 30
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
Method on table fails to modify table state #16
Comments
Initial testing indicates a compiler error, as code compiled with |
Thanks!
…On Tue, Oct 23, 2018 at 12:10 PM Milo Christiansen ***@***.***> wrote:
Initial testing indicates a compiler error, as code compiled with luac
works properly. I still need to identify where it is going wrong, but a fix
should be available within the day.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<#16 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AhhKJ0DOCcycSN4hWLdfzT-wxTO5ctYrks5un1t_gaJpZM4X2Hjh>
.
|
Ok, the problem was pretty obvious once I thought to examine the object with The issue was caused by the code that compiled identifiers not properly indicating how many registers it used in certain cases. I'll push the fix in the next minute or so. Hopefully it fixes all such cases, but if not let me know. |
Thanks again for the prompt response. It looks good. |
The following code does not change buffer as it does in Lua 5.3.4:
It also does not work when passing an explicit self parameter:
The attached code prints 0 twice.
luamethod.zip
The text was updated successfully, but these errors were encountered: