The logic seems correct, I have tested in a local function and is working fine, but wonderly, the method .Arr() is always return an empty array.
E.g
i = [3, 4, 25, 10].Iter() #my `iterator`
pattern = F(x) x < 10
for e in i {
if e =~ pattern i.next()
}
echo(i.Arr()) # is printing an empty array. Why?
Issue: #597
The logic seems correct, I have tested in a local function and is working fine, but wonderly, the method .Arr() is always return an empty array.
E.g
the result should be 25, 10