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

From: Matthew Flatt (mflatt at cs.utah.edu)
Date: Sat Jun 12 17:57:06 EDT 2010

Sorry that I lost track of that one --- fix pushed.

At Sat, 12 Jun 2010 17:37:32 -0400, Sam Tobin-Hochstadt wrote:
> 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
> _________________________________________________
>   For list-related administrative tasks:
>   http://lists.racket-lang.org/listinfo/users


Posted on the users mailing list.