iterator_to_array() and iterator_count() now accepts arrays#1938
Conversation
TimWolla
left a comment
There was a problem hiding this comment.
Technically the stub uses iterable, but I guess it makes sense to use the explicit union here, especially when combined with the internal change.
I've generated the change via gen_stubs, so maybe that's why. But in either case it's equivalent :) |
Co-authored-by: Tim Düsterhus <timwolla@googlemail.com>
Co-authored-by: Tim Düsterhus <timwolla@googlemail.com>
|
Today I suddenly learned about this feature and was very happy to remove Do you mind if I change |
According to Girgias, the explicit union is how it falls out of the automated generator consuming the stubs. Thus a manual change would be undesirable. This would need to be handled in the generator. |
|
|
No description provided.