Simple test case:
auto c = JSONValue([12, 13])
assert(c == c); // fails
I think this is down to the fact that arrays can be null and therefore the reliance on TaggedAlgebraic!PayloadUnion.opEquals fails when trying to decide between the null_ and array payload types.
The fix I'm preparing for #44 should address this.
Simple test case:
I think this is down to the fact that arrays can be
nulland therefore the reliance onTaggedAlgebraic!PayloadUnion.opEqualsfails when trying to decide between thenull_andarraypayload types.The fix I'm preparing for #44 should address this.