Implement yield* operator (#3923)
Missing features: - caching next() method (this also true for normal generators) - automatic sync to async generator conversion JerryScript-DCO-1.0-Signed-off-by: Zoltan Herczeg zherczeg.u-szeged@partner.samsung.com
This commit is contained in:
@@ -439,7 +439,7 @@ ecma_op_container_create (const ecma_value_t *arguments_list_p, /**< arguments l
|
||||
|
||||
ecma_object_t *adder_func_p = ecma_get_object_from_value (result);
|
||||
|
||||
result = ecma_op_get_iterator (iterable, ECMA_VALUE_EMPTY);
|
||||
result = ecma_op_get_iterator (iterable, ECMA_VALUE_SYNC_ITERATOR);
|
||||
|
||||
if (ECMA_IS_VALUE_ERROR (result))
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user