Skip to content
Permalink

Comparing changes

This is a direct comparison between two commits made in this repository or its related repositories. View the default comparison for this range or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: boa-dev/boa
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: 01b71f4dd58710d0cef9c2b2d98273831a4b6d05
Choose a base ref
..
head repository: boa-dev/boa
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: b26077c337222cb6395ccc20af5472842d8faef5
Choose a head ref
2 changes: 1 addition & 1 deletion boa_engine/src/builtins/eval/mod.rs
Original file line number Diff line number Diff line change
@@ -212,7 +212,7 @@ impl Eval {

// Poison the last parent function environment, because it may contain new declarations after/during eval.
if !strict {
context.vm.environments.poison_last_function();
context.vm.environments.poison_until_last_function();
}

// Set the compile time environment to the current running environment and save the number of current environments.
Loading