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
____________________
  Racket Users list:
  http://lists.racket-lang.org/users

Reply via email to