-
-
Notifications
You must be signed in to change notification settings - Fork 1.5k
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
int64/int64
not compile for JS, but for C.
#23746
Comments
!nim js echo 1'i64 / 2'i64 |
🐧 Linux bisect by @litlighilit (contributor)devel 👎 FAILOutput
IRCompiled filesize0 (0 bytes)
Stats
ASTstable 👎 FAILOutput
IRCompiled filesize0 (0 bytes)
Stats
AST2.0.4 👎 FAILOutput
IRCompiled filesize0 (0 bytes)
Stats
AST2.0.0 👎 FAILOutput
IRCompiled filesize0 (0 bytes)
Stats
AST1.6.20 👎 FAILOutput
IRCompiled filesize0 (0 bytes)
Stats
AST1.4.8 👎 FAILOutput
IRCompiled filesize0 (0 bytes)
Stats
AST1.2.18 👎 FAILOutput
IRCompiled filesize0 (0 bytes)
Stats
AST1.0.10 👎 FAILOutput
IRCompiled filesize0 (0 bytes)
Stats
ASTStats
🤖 Bug found in |
not sure why in C backend it compiles, as I found no |
It compiles in C backend because, at least in x64 the operators of echo int(1.int64) / int(2.int64) donno what will happened on 32 bit machine. 🤔 |
int64/int64
when JS.int64/int64
not compile for JS, but for C.
Description
the following compiles for C backend but not JS:
or
Nim Version
from 1.6.14, 2.0.6 to 2.1.1
Current Output
Expected Output
Possible Solution
No response
Additional Information
No response
The text was updated successfully, but these errors were encountered: