-
Notifications
You must be signed in to change notification settings - Fork 127
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
method stream-line-column doesn't specializ #238
Comments
Can you make a pull request? |
No, I don't work with github. |
You can send me a patch from git format-patch. |
@Yehouda Is this the change you have in mind? diff --git a/make-docstrings.lisp b/make-docstrings.lisp
index 993a295..878781c 100644
--- a/make-docstrings.lisp
+++ b/make-docstrings.lisp
@@ -56,7 +56,7 @@ (defmethod trivial-gray-streams:stream-write-char ((stream formatting-stream) ch
(vector-push-extend char (word-buffer stream))))
(write-char char (understream stream))))
-(defmethod trivial-gray-streams:stream-line-column (stream)
+(defmethod trivial-gray-streams:stream-line-column ((stream formatting-stream))
(+ (column stream) (length (word-buffer stream))))
(defmethod trivial-gray-streams:stream-write-string ((stream formatting-stream) string &optional start end) Maybe you can tell me how to invoke |
Ah, I need to load |
Yes, this is the change. Line 88 in 13876b5
|
What is git format-patch? |
Reported and fixed by Yehouda Harpaz
The fix is in How is 'make-docstrings:parse-doc |
By the way, my server, which is running I have patched some things on-the-fly since then. |
hunchentoot/make-docstrings.lisp
Line 59 in 13876b5
This needs to specialize on formatting-stream.
On Lispworks that errors, because LispWorks exports stream-line-column and by default doesn't allow methods that are not specialized (so actually specilized on T) for such generic functions.
The text was updated successfully, but these errors were encountered: