[racket-dev] [plt] Push #23561: master branch updated

From: Robby Findler (robby at eecs.northwestern.edu)
Date: Sat Sep 17 22:53:45 EDT 2011

I think you are missing a test case here.

Robby

On Sat, Sep 17, 2011 at 9:39 PM,  <gmarceau at racket-lang.org> wrote:
> gmarceau has updated `master' from 14014b3d36 to 9b49de16e7.
>  http://git.racket-lang.org/plt/14014b3d36..9b49de16e7
>
> =====[ 1 Commits ]======================================================
>
> Directory summary:
>  100.0% collects/lang/private/
>
> ~~~~~~~~~~
>
> 9b49de1 Guillaume Marceau <gmarceau at racket-lang.org> 2011-09-17 22:37
> :
> | Fixed 'reference to an identifier before its definition' error in *SL.
> :
>  M collects/lang/private/rewrite-error-message.rkt |    2 ++
>
> =====[ Overall Diff ]===================================================
>
> collects/lang/private/rewrite-error-message.rkt
> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> --- OLD/collects/lang/private/rewrite-error-message.rkt
> +++ NEW/collects/lang/private/rewrite-error-message.rkt
> @@ -58,6 +58,8 @@
>           (list #rx"procedure application: expected procedure, given: (.*); arguments were:.*"
>                 (lambda (all one)
>                   (format "function call: expected a function after the open parenthesis, but received ~a" one)))
> +          (list #rx"reference to an identifier before its definition: (.*)"
> +                (lambda (all one) (format "~a is used here before its definition" one)))
>           (list #rx"expects argument of type (<([^>]+)>)"
>                 (lambda (all one two) (format "expects a ~a" two)))
>           (list #rx"expected argument of type (<([^>]+)>)"
>



Posted on the dev mailing list.