mirror of
https://github.com/fergalmoran/ladybird.git
synced 2025-12-22 09:19:03 +00:00
LibJS: Object::initialize() overrides must always call base class
This commit is contained in:
@@ -39,8 +39,9 @@ BoundFunction::BoundFunction(GlobalObject& global_object, Function& target_funct
|
||||
{
|
||||
}
|
||||
|
||||
void BoundFunction::initialize(Interpreter&, GlobalObject&)
|
||||
void BoundFunction::initialize(Interpreter& interpreter, GlobalObject& global_object)
|
||||
{
|
||||
Function::initialize(interpreter, global_object);
|
||||
define_property("length", Value(m_length), Attribute::Configurable);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user