[racket] misleading error message about check-satisfied

From: Robby Findler (robby at eecs.northwestern.edu)
Date: Thu Jan 29 20:56:44 EST 2015

Thanks for the report! I've pushed a fix to our git repo.

Robby

On Thu, Jan 29, 2015 at 6:24 PM, Suzanne Menzel <menzel at indiana.edu> wrote:
> Hello,
>
> A student wrote the following two line program in BSL:
>
>    (require 2htdp/image)
>    (check-satisfied (rectangle 10 "solid" "black") image?)
>
> When Run, the messages are:
>
>    check-satisfied: expects function of one argument in second position. Given image?
>    The test passed!
>
> The actual error is with rectangle. It expects four arguments and it’s given only three. One of width or height is missing.
>
> I don’t have a question. I just wanted to let you know about this behavior.
>
> Suzanne
>
>
> ____________________
>   Racket Users list:
>   http://lists.racket-lang.org/users


Posted on the users mailing list.