diff options
author | Kaz Kylheku <kaz@kylheku.com> | 2020-07-06 06:14:06 -0700 |
---|---|---|
committer | Kaz Kylheku <kaz@kylheku.com> | 2020-07-06 06:14:06 -0700 |
commit | dbd485c6bd828e112b0237ed60410b172a19183b (patch) | |
tree | d28e77607491ee5781074c48c82f393967384953 /tests/012/oop-seq.expected | |
parent | 6c9d1315ca6da5f3b5d365d952259480be5b7e58 (diff) | |
download | txr-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