[plt-dev] slightly misleading error

From: Carl Eastlund (carl.eastlund at gmail.com)
Date: Fri May 22 15:05:35 EDT 2009

On Fri, May 22, 2009 at 2:58 PM, Dave Herman <dherman at ccs.neu.edu> wrote:
>> Could you fix this by just changing the error message to
>>
>> "context of this expression expected 1 value, received 2 values: a b"
>
> That still seems a little confusing to me, especially the fact that
> "received" is not so obviously tied to "context of [i.e., which is not the
> same as] this expression."

How about:

"the dynamic context of this expression expected 1 value, but this
expression produced 2 values instead: a b"

-- 
Carl Eastlund


Posted on the dev mailing list.