Generator#composeWith
should support returning all composed generators when returnNewGenerator
were true
#1251
Labels
generator/lib/index.js
Lines 1102 to 1105 in 5cf1a18
Shouldn't line 1103 be written like this?
Currently, when
generator
was an array andreturnNewGenerator
wastrue
,Generator#composeWith
only returns an array ofthis
(i.e. the current generator).I think this is a mistake, although this should be easy to fix.
The text was updated successfully, but these errors were encountered: