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

Don't show artificial variables in stack traces #27

Open
girving opened this issue Aug 30, 2009 · 0 comments
Open

Don't show artificial variables in stack traces #27

girving opened this issue Aug 30, 2009 · 0 comments

Comments

@girving
Copy link
Owner

girving commented Aug 30, 2009

When we lift anonymous functions into toplevel function declarations, we call them all 'f'. This name should not show up in error messages or stack traces:

base:180:13-39:
  'fold base.f (List Void) (List Int)' does not match any overloads, tried:

The message should make it clear that we're talking about an anonymous function and give the SrcLoc.

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