I was looking forward to use this API change, thanks for the great work! I tried to use node.select, but I spoted a rather obvious bug: it only yields the last matching node. This is because the iterator next method is iterating on all values of the internal iterator rather than returning the values.
I was looking forward to use this API change, thanks for the great work! I tried to use node.select, but I spoted a rather obvious bug: it only yields the last matching node. This is because the iterator
next
method is iterating on all values of the internal iterator rather than returning the values.Here is patch to fix this.