[racket] rename-transformer-target, prop:rename-transformer, and contracts
If I have this program:
#lang racket/base
(module foo racket/base
(require racket/contract/base)
(struct foo (id) #:transparent
#:property prop:rename-transformer (struct-field-index id))
(provide (contract-out
[struct foo ([id identifier?])])))
(require 'foo)
(define id #'x)
(rename-transformer-target (foo id))
Then it will return this:
#<syntax ?>
Instead of returning id.
Is this a bug?
Why wouldn’t this work?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.racket-lang.org/users/archive/attachments/20140810/deba68f3/attachment.html>