LibJS: Convert Object::set() to ThrowCompletionOr

This commit is contained in:
Linus Groh 2021-10-03 00:32:43 +01:00
commit 1d45541278
Notes: sideshowbarker 2024-07-18 03:07:37 +09:00
18 changed files with 89 additions and 188 deletions

View file

@ -26,7 +26,7 @@ void Reference::put_value(GlobalObject& global_object, Value value)
throw_reference_error(global_object);
return;
}
global_object.set(m_name, value, Object::ShouldThrowExceptions::No);
MUST(global_object.set(m_name, value, Object::ShouldThrowExceptions::No));
return;
}