Skip to content
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

Endless loop caused by eq between IntegerOrInfinity::Integer and i64 #4009

Closed
YichiZhang0613 opened this issue Sep 28, 2024 · 0 comments · Fixed by #4010
Closed

Endless loop caused by eq between IntegerOrInfinity::Integer and i64 #4009

YichiZhang0613 opened this issue Sep 28, 2024 · 0 comments · Fixed by #4010
Labels
bug Something isn't working

Comments

@YichiZhang0613
Copy link

In boa-main/core/engine/src/value/integer.rs, following code will cause endless loop.

let value: i64 = 42;
let other = IntegerOrInfinity::Integer(10);
assert!(!value.eq(&other));
@YichiZhang0613 YichiZhang0613 added the bug Something isn't working label Sep 28, 2024
Nikita-str added a commit to Nikita-str/boa that referenced this issue Sep 28, 2024
github-merge-queue bot pushed a commit that referenced this issue Sep 28, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant