Commit 5c5732b
committed
Implement -seq for sets the same way as maps
Sets were using iterators instead of just building a list (which were
mentioned should be removed in #242), and I guess some of the iterator
code doesn't work properly for maps, because executing `(seq #{4 7})`
causes a segfault without this patch.
I'm not really familar with the implementation of iterators over maps,
but this is sort of an interesting bug because I've only been able to
reproduce it with sets that have #{4 7} as a subset.1 parent b8bfe4a commit 5c5732b
1 file changed
+3
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
959 | 959 | | |
960 | 960 | | |
961 | 961 | | |
962 | | - | |
| 962 | + | |
| 963 | + | |
| 964 | + | |
963 | 965 | | |
964 | 966 | | |
965 | 967 | | |
| |||
0 commit comments