Skip to content

Commit

Permalink
fix(bigint): use correct operator for bitwise not
Browse files Browse the repository at this point in the history
Co-authored-by: vimirage <[email protected]>
  • Loading branch information
sno2 and vimirage committed Nov 4, 2023
1 parent 37de064 commit 20515e8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion nova_vm/src/ecmascript/types/language/bigint.rs
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ impl BigInt {
BigInt::BigInt(x_index) => {
let x_data = agent.heap.get(x_index);
agent.heap.create(BigIntHeapData {
data: -&x_data.data,
data: !&x_data.data,
})
}
}
Expand Down

0 comments on commit 20515e8

Please sign in to comment.