Files
scriptc/tests
Chris Tate 8b1deff6e9 Step untyped loops over the program's generators on the typed path
A for…of or for await loop over an untyped iterable now tests, once it has
its iterator and next method, whether the iterator is one of the
program's own generators with its own next method. Each step of such a
loop resumes the generator directly and boxes only the value, where the
dynamic protocol boxed the result record and its promise and read them
back. Every other iterator keeps the dynamic protocol, and early exits
still close the iterator through it. The awaits are the protocol's: an
async generator's next() promise is awaited, and a sync generator under
for await awaits the result and then the value.
2026-10-25 22:01:42 -05:00
..
2026-10-25 10:55:32 -05:00
…