Custom Query (1030 matches)
Results (418 - 420 of 1030)
| Ticket | Resolution | Summary | Owner | Reporter |
|---|---|---|---|---|
| #1145 | fixed | Meta-dot doesn't work on package names | ||
| Description |
Packages defined with defpackage don't respond when you meta-dot their names. |
|||
| #1234 | fixed | Meta-dot on definitions from a symlink fails | ||
| Description |
If your ccl-init.lisp is actually a symlink to a file elsewhere and you meta-dot on a definition in that file, Hemlock opens a window to the symlink rather than the actual file. (It shows a small arrow in the titlebar icon of the window). Edits to this "file" can be made but CCL throws an error when you try to save them. |
|||
| #1092 | invalid | Method on t causes error when it should not | ||
| Description |
The following code signals an error about the :sign keyword argument. The culprit seems to be the method on T, which prevents the method on list to run. If I omit the method on T, or I define it e.g. on built-in-class, the error is gone. (defgeneric render (obj &rest args))
(defmethod render ((obj t) &key)
(print obj))
(defmethod render ((obj list) &rest args)
(mapc (lambda (item)
(apply #'render item args))
obj))
(defmethod render ((obj number) &key sign)
(print (* sign obj)))
(render (list 1 2 3 4) :sign -1)
According to my reading of CLHS (7.6.4 & 7.6.5), no error should be signaled. Indeed, I have tested this with SBCL and it runs just fine. |
|||
