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

From: Stevie Strickland (sstrickl at racket-lang.org)
Date: Tue Mar 12 18:20:27 EDT 2013

Sorry about the delay.  My original planned fix didn't pan out, but now I've got a fix in place in the repo (push #26457).

Thanks,
Stevie

On Mar 9, 2013, at 5:40 PM, Asumu Takikawa <asumu at ccs.neu.edu> wrote:

> On 2013-03-09 10:57:28 -0500, sstrickl at racket-lang.org wrote:
>> 7d1ad25 Stevie Strickland <sstrickl at racket-lang.org> 2013-03-09 10:32
>> :
>> | Revert hack for top-level, institute real fix.
>> |
>> | As a side-effect of this fix, we don't need the thunking behavior for
>> | external identifiers anymore.  Even better!
> 
> Very nice!
> 
> One problem though. I think this has broken some uses of
> `define/contract` in third-party code I have installed. Here's a
> boiled-down snippet that shows the issue:
> 
>  #lang racket
> 
>  ;; breaks
>  (define/contract (f x #:y [y 3])
>    (->* (integer?) (#:y integer?) integer?)
>    x)
> 
>  ;; contract-out ok with same contract
>  #;
>  (define (f x #:y [y 3]) x)
> 
>  #;
>  (provide
>    (contract-out
>      [f (->* (integer?) (#:y integer?) integer?)]))
> 
> The error I see is:
>  dc-bug.rkt:5:19: #%datum: keyword used as an expression
>    in: #:y
>    context...:
>     standard-module-name-resolver
> 
> Cheers,
> Asumu



Posted on the dev mailing list.