Skip to content

Commit

Permalink
Fix error in Proxy set implementation (#2369)
Browse files Browse the repository at this point in the history
This Pull Request changes the following:

- Fix error in `Proxy` set implementation

After this all other failing `Proxy` tests fail because of us missing the `with` implementation.

Co-authored-by: RageKnify <RageKnify@gmail.com>
  • Loading branch information
raskad and RageKnify committed Oct 22, 2022
1 parent d4c220a commit 80017fd
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion boa_engine/src/object/internal_methods/proxy.rs
Original file line number Diff line number Diff line change
Expand Up @@ -686,7 +686,12 @@ pub(crate) fn proxy_exotic_set(
if !trap
.call(
&handler.into(),
&[target.clone().into(), value.clone(), receiver],
&[
target.clone().into(),
key.clone().into(),
value.clone(),
receiver,
],
context,
)?
.to_boolean()
Expand Down

0 comments on commit 80017fd

Please sign in to comment.