-
Notifications
You must be signed in to change notification settings - Fork 107
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
incomplete bitwise transpilation #673
Comments
@fperrad Thanks for the report! At first glance, I think this is due to the lack of type information (that is, it wouldn't happen on a |
Fixed! Now it no longer outputs 5.3 operators with |
My issue was about bitwise operators. Does your fix include too the floor division operator |
@fperrad yes, it covers |
I try to transpile a Lua 5.3 module (see https://framagit.org/fperrad/lua-mqtt/-/blob/transpile/src/mqtt311.lua) with the following command:
Most of the bitwise operators are transpiled to bit32 calls, except in 3 lines. see commit https://framagit.org/fperrad/lua-mqtt/-/commit/d97093dcd38cf18c558d822f45062a2efed65ac5
note:
The text was updated successfully, but these errors were encountered: