mirror of
https://gitlab.com/embeddable-common-lisp/ecl.git
synced 2026-01-10 11:12:58 -08:00
A method might not be attached to any generic function. In that case print it as UNNAMED.
This commit is contained in:
parent
db371a2edc
commit
2bd547f0eb
2 changed files with 8 additions and 1 deletions
|
|
@ -32,6 +32,9 @@ ECL 0.9h
|
|||
a syntax error to have a denominator full of zeros (CLHS 2.2 end plus
|
||||
2.3.2.1.2).
|
||||
|
||||
- When a DEFMETHOD form had an incongruent lambda list, an internal error
|
||||
prevented ECL from writing the proper error message.
|
||||
|
||||
* Design:
|
||||
|
||||
- Simplified the structure of the frame stack, removing redundant fields.
|
||||
|
|
|
|||
|
|
@ -103,7 +103,11 @@
|
|||
|
||||
(defmethod print-object ((m standard-method) stream)
|
||||
(print-unreadable-object (m stream :type t)
|
||||
(format stream "~A ~A" (generic-function-name (method-generic-function m))
|
||||
(format stream "~A ~A"
|
||||
(let ((gf (method-generic-function m)))
|
||||
(if gf
|
||||
(generic-function-name gf)
|
||||
'UNNAMED))
|
||||
(method-specializers m)))
|
||||
m)
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue