dyoo / WeScheme

29 stars 16 forks source link

Error highlighting issues #94

Open dyoo opened 11 years ago

dyoo commented 11 years ago

Reported by SK:


Here's a program:

(define (l l1 n1 w1)
  (cond [true 1]))

(l 2 3)

[The function name is "ell", not "one".]

The error message is colored properly, but in the error

l: expects 3 arguments, but given 2: 2 3

when you look at the "2" after the colon, there's an extra space underscored.


Why is "3 arguments" (and the arguments l1, n1, w1) not gradiated?


Why isn't the environment using constructor notation for the values in errors?