Skip to content

Commit

Permalink
0.8.14.1:
Browse files Browse the repository at this point in the history
	Fix for defgeneric expansion as reported on sbcl-devel Aug 31, 2004
  • Loading branch information
kevinrosenberg committed Sep 1, 2004
1 parent 4025629 commit accaea9
Show file tree
Hide file tree
Showing 4 changed files with 15 additions and 2 deletions.
4 changes: 4 additions & 0 deletions NEWS
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
changes in sbcl-0.8.15 relative to sbcl-0.8.14:
* bug fix: incorrect expansion of defgeneric that caused
a style warning. (thanks for Zach Beane)

changes in sbcl-0.8.14 relative to sbcl-0.8.13:
* incompatible change: the internal functions
SB-KERNEL:32BIT-LOGICAL-FOO, intended for providing efficient
Expand Down
2 changes: 1 addition & 1 deletion src/pcl/boot.lisp
Original file line number Diff line number Diff line change
Expand Up @@ -239,7 +239,7 @@ bootstrapping.
(compile-or-load-defgeneric ',fun-name))
(load-defgeneric ',fun-name ',lambda-list ,@initargs)
,@(mapcar #'expand-method-definition methods)
#',fun-name))))
(fdefinition ',fun-name)))))

(defun compile-or-load-defgeneric (fun-name)
(proclaim-as-fun-name fun-name)
Expand Down
9 changes: 9 additions & 0 deletions tests/clos.impure.lisp
Original file line number Diff line number Diff line change
Expand Up @@ -821,5 +821,14 @@
x)
(assert (= (fum 3) 3/2))

;;; Bug reported by Zach Beane; incorrect return of (function
;;; ',fun-name) in defgeneric
(assert
(typep (funcall (compile nil
'(lambda () (flet ((nonsense () nil))
(defgeneric nonsense ())))))
'generic-function))


;;;; success
(sb-ext:quit :unix-status 104)
2 changes: 1 addition & 1 deletion version.lisp-expr
Original file line number Diff line number Diff line change
Expand Up @@ -17,4 +17,4 @@
;;; checkins which aren't released. (And occasionally for internal
;;; versions, especially for internal versions off the main CVS
;;; branch, it gets hairier, e.g. "0.pre7.14.flaky4.13".)
"0.8.14"
"0.8.14.1"

0 comments on commit accaea9

Please sign in to comment.