[racket] Shared and structs with #:auto
Hi all,
I'm trying to use shared with a structure that has a field with #:auto
If I have some structure like this:
(struct test ([a #:auto]) #:transparent #:mutable)
this works fine:
(shared ([b (test)]) b)
but this errors:
(shared ([b (test 1)]) b)
with "shared: wrong argument count for structure constructor; expected 0,
found 1 in: (test1 1)"
Is this a bug? Is there a work around?
--Spencer
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.racket-lang.org/users/archive/attachments/20140729/e24f1fb1/attachment-0001.html>