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

Pattern match failures of functions called from another function body bubble up #6

Open
tsani opened this issue Sep 13, 2015 · 0 comments

Comments

@tsani
Copy link
Contributor

tsani commented Sep 13, 2015

Suppose a function A calls a function B in its definition, but the call to B fails due to a pattern match failure. The PatternMatchError coming from B will bubble up to the dispatchEquation that called A's implementation, and will cause the next equation for A to be tried. This is not desired behaviour.

@tsani tsani added the bug label Sep 13, 2015
@gumgl gumgl added the Compiler label Sep 21, 2015
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

2 participants