mirror of
https://github.com/RGBCube/serenity
synced 2025-05-31 11:38:11 +00:00
LibJS: Port iterator_step() to GCPtr
This commit is contained in:
parent
e54536421a
commit
aff1ec6014
12 changed files with 19 additions and 19 deletions
|
@ -64,7 +64,7 @@ static ThrowCompletionOr<Value> perform_promise_common(VM& vm, Iterator& iterato
|
|||
iterator_record.done = true;
|
||||
return next_or_error.release_error();
|
||||
}
|
||||
auto* next = next_or_error.release_value();
|
||||
auto next = next_or_error.release_value();
|
||||
|
||||
// d. If next is false, then
|
||||
if (!next) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue