diff --git a/boa_engine/src/bytecompiler/declarations.rs b/boa_engine/src/bytecompiler/declarations.rs index 450e1d31712..95a43da0d92 100644 --- a/boa_engine/src/bytecompiler/declarations.rs +++ b/boa_engine/src/bytecompiler/declarations.rs @@ -5,7 +5,7 @@ use crate::{ create_function_object_fast, create_generator_function_object, BindingOpcode, CodeBlockFlags, Opcode, }, - JsNativeError, JsResult, + JsNativeError, JsResult, JsString, }; use boa_ast::{ declaration::{Binding, LexicalDeclaration, VariableList}, @@ -848,6 +848,16 @@ impl ByteCompiler<'_, '_> { strict: bool, generator: bool, ) -> (Option