mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 14:17:36 +00:00
LibJS: Convert make_super_property_reference to ThrowCompletionOr
This commit is contained in:
parent
9d7fe39640
commit
02a88c5063
3 changed files with 4 additions and 4 deletions
|
@ -776,7 +776,7 @@ Reference MemberExpression::to_reference(Interpreter& interpreter, GlobalObject&
|
|||
bool strict = interpreter.vm().in_strict_mode();
|
||||
|
||||
// 7. Return ? MakeSuperPropertyReference(actualThis, propertyKey, strict).
|
||||
return make_super_property_reference(global_object, actual_this, property_key, strict);
|
||||
return TRY_OR_DISCARD(make_super_property_reference(global_object, actual_this, property_key, strict));
|
||||
}
|
||||
|
||||
auto object_value = m_object->execute(interpreter, global_object);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue