harlan icon indicating copy to clipboard operation
harlan copied to clipboard

Harlan Exception unfriendliness. ^^

Open its2mc opened this issue 9 years ago • 1 comments

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

its2mc avatar Mar 12 '15 08:03 its2mc

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.

eholk avatar Mar 16 '15 19:03 eholk