From 5f1e5d7153631df336179b309a1663b3822984eb Mon Sep 17 00:00:00 2001 From: Kevin Gibbons Date: Mon, 28 Oct 2024 08:10:45 -0700 Subject: [PATCH] fix call to IteratorClose (#37) --- spec.emu | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/spec.emu b/spec.emu index 3c2849f..4fb9ad1 100644 --- a/spec.emu +++ b/spec.emu @@ -52,7 +52,7 @@ copyright: false 1. Append _next_ to _padding_. 1. If _usingIterator_ is *false*, append *undefined* to _padding_. 1. If _usingIterator_ is *true*, then - 1. Let _completion_ be Completion(IteratorClose(_paddingIter_, ReturnCompletion(*undefined*))). + 1. Let _completion_ be Completion(IteratorClose(_paddingIter_, NormalCompletion(~unused~))). 1. IfAbruptCloseIterators(_completion_, _iters_). 1. Let _finishResults_ be a new Abstract Closure with parameters (_results_) that captures nothing and performs the following steps when called: 1. Return CreateArrayFromList(_results_).