My previous PR inadvertently broke or/or-join when a branch shortcircuits due to being empty. (Sorry!)
If one branch of an or or or-join short-circuited, the resulting Relation would not have the expected attrs, resulting in Can’t sum relations with different attrs being raised.
This fixes the bug and adds regression tests. Fixing that also exposed an extant bug in same-keys? which is now fixed.
My previous PR inadvertently broke or/or-join when a branch shortcircuits due to being empty. (Sorry!)
If one branch of an
or
oror-join
short-circuited, the resulting Relation would not have the expected attrs, resulting inCan’t sum relations with different attrs
being raised.This fixes the bug and adds regression tests. Fixing that also exposed an extant bug in
same-keys?
which is now fixed.