racket / scribble

Other
197 stars 90 forks source link

Fix contracts on Secref and seclink #308

Closed lexi-lambda closed 3 years ago

lexi-lambda commented 3 years ago

Both these functions allow the #:doc argument to be #f, and in fact that is the default value, but their contracts are overly strict, so passing it explicitly triggers a contract violation. This commit therefore weakens the contracts to allow #f, as they should.

mflatt commented 3 years ago

Thanks!