summaryrefslogtreecommitdiffstats
path: root/tests/012/oop-seq.expected
diff options
context:
space:
mode:
authorKaz Kylheku <kaz@kylheku.com>2020-07-06 06:14:06 -0700
committerKaz Kylheku <kaz@kylheku.com>2020-07-06 06:14:06 -0700
commitdbd485c6bd828e112b0237ed60410b172a19183b (patch)
treed28e77607491ee5781074c48c82f393967384953 /tests/012/oop-seq.expected
parent6c9d1315ca6da5f3b5d365d952259480be5b7e58 (diff)
downloadtxr-dbd485c6bd828e112b0237ed60410b172a19183b.tar.gz
txr-dbd485c6bd828e112b0237ed60410b172a19183b.tar.bz2
txr-dbd485c6bd828e112b0237ed60410b172a19183b.zip
seq_iter: reverse order of some tests.
* lib.c (seq_iter_rewind, seq_iter_init_with_info): Reverse the order in which we perform some type tests. We check for some special types first, and then for the sequence kind. These situations are mutually exclusive now, so the order doesn't matter. The plan is to introduce the ability for a structure object to be iterable with special methods. Such an object won't necessarily be a sequence (seq_info may identify it as SEQ_NOTSEQ). This code will be prepared for it becuase it's now checking for the type first, before the sequence kind.
Diffstat (limited to 'tests/012/oop-seq.expected')
0 files changed, 0 insertions, 0 deletions