redbug doesn't seem to like tuple_size/1 in guards. It can be fixed in redbug itself or as a workaround in Rexbug, converting tuple_size(x) == y to is_tuple(x) and size(x) == y.
The former is probably the correct thing to do, the latter is probably much convenient to do right now.
redbugdoesn't seem to liketuple_size/1in guards. It can be fixed in redbug itself or as a workaround in Rexbug, convertingtuple_size(x) == ytois_tuple(x) and size(x) == y.The former is probably the correct thing to do, the latter is probably much convenient to do right now.