struct*-doc in scribble/srcdoc converts to defstruct*. There is a problem in how the arguments are converted when #:constructor-n
name is provided.
If you run the following code
#lang racket/base
(require scribble/srcdoc)
(struct point (x y) #:constructor-name make-point)
(provide
(struct*-doc
point
([x integer?] [y integer?])
#:constructor-name make-point
("Creates a point structure")
))
You get the error
/scribble-lib/scribble/srcdoc.rkt:564:10: defstruct*: expected expression
at: #:constructor-name
in: (defstruct* point ((x integer?) (y integer?)) make-point #:constructor-name "Creates a lala structure")
You can see the order of #:constructor-name and make-point is inverted when it tries to convert