Skip to content

Fix tuple_size in guards #29

Description

@nietaki

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.

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions