dyoo / WeScheme

29 stars 16 forks source link

issues reported by gmarceau #71

Open dyoo opened 12 years ago

dyoo commented 12 years ago

(cond [4 5]) -> if: expected a boolean value, but found: 4 Shouldn't say "if" This is a run time error, it should say "but got" instead of "but found" (I know, I got this one wrong myself in my previous email). No colon between "got" and "4", aka stick to standard rules of English.

plus: expects 2 arguments, but given 1: 5 don't print the value on static errors, pretend arity errors are static (though I can imagine I've been overruled on this)

+: expects a number as 2nd argument, but given: "asd"; other arguments were the part "other argument were..." is not useful enough for how distracting it is. Remove it. No colon after given.

expects 3 arguments, but given 4: 1 2 3 3 The green highlights are turning to some rather odd shades there. Which color space are you using?

or: expected a boolean value, but found: 4 should be "but got 4"

(x) -> x: this variable is not defined should read "this function is not defined"

(list (define x 5)) -> define: this variable is not defined should read "define: found a definition that is not at the top level"