Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix tuple_size in guards #29

Open
nietaki opened this issue Dec 18, 2017 · 0 comments
Open

Fix tuple_size in guards #29

nietaki opened this issue Dec 18, 2017 · 0 comments

Comments

@nietaki
Copy link
Owner

nietaki commented Dec 18, 2017

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant