[racket] buggy error information for keyword args in 5.0?

From: Sam Tobin-Hochstadt (samth at ccs.neu.edu)
Date: Sat Jun 12 17:37:32 EDT 2010

This is PR 10954.

On Sat, Jun 12, 2010 at 5:32 PM, Todd O'Bryan <toddobryan at gmail.com> wrote:
> Here's a minimal example of what I think is a bug:
>
> #lang racket
>
> (define (blah #:foo foo #:bar bar)
>  (+ foo 2))
>
> (blah #:bar 3)
>
> Running it causes:
>
> blah: requires an argument with keyword #:foo, not supplied; x:
> expects type <x> as 1st argument, given: 'x; other arguments were:
> '#:bar 3
>
> where the error information involving x is just bizarre. I'm guessing
> that's not intended behavior...
>
> Todd
> _________________________________________________
>  For list-related administrative tasks:
>  http://lists.racket-lang.org/listinfo/users
>



-- 
sam th
samth at ccs.neu.edu


Posted on the users mailing list.