melisgl / mgl-pax

Documentation system, browser, generator.
https://melisgl.github.io/mgl-pax-world/
MIT License
75 stars 13 forks source link

Arglist of methods with eql specializers loses package information (keyword in particular) #32

Closed zellerin closed 1 year ago

zellerin commented 1 year ago

As the title says, the generated documentation of eql specializers might look misleading.

Example (tested with the quicklisp version):

(in-package  cl-user)

(mgl-pax:defsection @show-kw-loses-colon  ()
  (foo (method () ((eql :bar)))))

(defmethod foo ((par (eql :bar)))
  "XXX"
  par)

(mgl-pax:document @show-kw-loses-colon)

generates - [method] FOO (PAR (EQL BAR)).

I assume that package information in general might be too much information, but the fact that the argument is expected to be a keyword, not symbol from related package, seems to be worthy keeping.

melisgl commented 1 year ago

Thank you for the report. Reproduced on the latest version.

melisgl commented 1 year ago

Fixed in 473e201d. Use latest 3bmd for best results with that version.

zellerin commented 1 year ago

Thanks, both for the fix and for the library.