mirror of
https://github.com/RGBCube/serenity
synced 2025-05-31 20:28: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
|
@ -1521,7 +1521,7 @@ void IDL::ParameterizedType::generate_sequence_from_iterable(SourceGenerator& ge
|
|||
|
||||
sequence_generator.append(R"~~~(
|
||||
for (;;) {
|
||||
auto* next@recursion_depth@ = TRY(JS::iterator_step(vm, iterator@recursion_depth@));
|
||||
auto next@recursion_depth@ = TRY(JS::iterator_step(vm, iterator@recursion_depth@));
|
||||
if (!next@recursion_depth@)
|
||||
break;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue