diff options
author | Kaz Kylheku <kaz@kylheku.com> | 2023-06-28 06:55:12 -0700 |
---|---|---|
committer | Kaz Kylheku <kaz@kylheku.com> | 2023-06-28 06:55:12 -0700 |
commit | 59478a2944d8f9a06a8481bd2f746ffd7dd764c7 (patch) | |
tree | 0f710f8be8ab9cb1d057c4d86825aed161285b22 /tests/012/callable.tl | |
parent | 60708150c2efd57f34962b336d9e63684a00aeca (diff) | |
download | txr-59478a2944d8f9a06a8481bd2f746ffd7dd764c7.tar.gz txr-59478a2944d8f9a06a8481bd2f746ffd7dd764c7.tar.bz2 txr-59478a2944d8f9a06a8481bd2f746ffd7dd764c7.zip |
equal: bug: broken equality substitution.
* lib.c (equal): Several cases which react to the
type of the left argument have a default path which
wrongly short-circuits to an early return.
All these cases must break through to the logic
at the end of the function which tests the right side
for a possible equality substitution.
* tests/012/struct.tl: One breaking test cases added.
equal was found to return nil for two structures
that have equal lists as their equality substitute.
Diffstat (limited to 'tests/012/callable.tl')
0 files changed, 0 insertions, 0 deletions