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

Assert that data passed to return is not empty #34

Closed
wants to merge 1 commit into from

Conversation

daveray
Copy link
Contributor

@daveray daveray commented Jun 15, 2014

If return is given an empty sequence, pigpen fails later with a bizarre,
seemingly unrelated arity exception because it can't figure out the
number of expected fields in the input. I'm not sure what a real
solution is, so at least fail early with a clear assertion.

If return is given an empty sequence, pigpen fails later with a bizarre,
seemingly unrelated arity exception because it can't figure out the
number of expected fields in the input. I'm not sure what a real
solution is, so at least fail early with a clear assertion.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants