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

Harlan Exception unfriendliness. ^^ #145

Open
its2mc opened this issue Mar 12, 2015 · 1 comment
Open

Harlan Exception unfriendliness. ^^ #145

its2mc opened this issue Mar 12, 2015 · 1 comment

Comments

@its2mc
Copy link

its2mc commented Mar 12, 2015

Hey it would be great if the exceptions had more clarity.

@eholk
Copy link
Owner

eholk commented Mar 16, 2015

Here's the program that initially prompted this issue:

(module
  (define(main)
    (let (Y (vector 1 2 3 4))
      (println Y)
     (return 0))))

It says some stuff about reification and matching elements. The problem is the let binding needs an extra set of parentheses. We should add a more friendly error message in the lint pass.

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

No branches or pull requests

2 participants