[Iterators] should support empty collections #1670
Labels
:block
bug
Something isn't working
critical
Critical, top-priority issues
:dictionary
→ Iterators
library
Issues related to the standard library
todo
Automatically generated issues from TODOs in the code
[Iterators] should support empty collections
right now, if we do e.g.
loop [] 'x []
, it will crash.the same happens with empty dictionaries. This is a total mess, since
we'd have to check if the given array/dictionary is
empty?
beforehand.This has to be prioritized!
arturo/src/library/Iterators.nim
Line 19 in ab16110
1e0b8c3a97890cbef52b10511e49482622ea5d56
The text was updated successfully, but these errors were encountered: