-
-
Notifications
You must be signed in to change notification settings - Fork 666
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
Add bultins: i32/i64/f32/f64.eq/ne #2246
Add bultins: i32/i64/f32/f64.eq/ne #2246
Conversation
// @ts-ignore: decorator | ||
@builtin | ||
export declare function eq<T>(left: T, right: T): i32; | ||
|
||
// @ts-ignore: decorator | ||
@builtin | ||
export declare function ne<T>(left: T, right: T): i32; | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This file seems to be missing the declarations for i32.eq
etc., which probably didn't show up in tests since only the generic variants are used.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I guess this also implies that adding the remaining tests would be good alongside :)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I fixed them on another pull req.
#2258
Co-authored-by: dcode <dcode@dcode.io>
Co-authored-by: dcode <dcode@dcode.io>
Co-authored-by: dcode <dcode@dcode.io>
Co-authored-by: dcode <dcode@dcode.io>
…mblyscript into 1310-eq-ne-instructions
Sorry,the history was broken. I'll make another pull request. |
⯈add eq/ne to builtin.ts
Related issue: #1310