Skip to content

Commit

Permalink
0.6.10.19:
Browse files Browse the repository at this point in the history
	MNA pointed out that bug #25 is gone.
	applied MNA "pcl cleanups" megapatch from sbcl-devel 2001-02-19
		(will be hacked on some more soon, as per my reply and
		ensuing discussion)
  • Loading branch information
William Harold Newman committed Feb 22, 2001
1 parent 4aa8253 commit 475c832
Show file tree
Hide file tree
Showing 29 changed files with 333 additions and 682 deletions.
35 changes: 0 additions & 35 deletions BUGS
Expand Up @@ -92,12 +92,6 @@ WORKAROUND:
Perhaps any number of such consecutive lines ought to turn into a
single "byte compiling top-level forms:" line.

9:
The handling of IGNORE declarations on lambda list arguments of
DEFMETHOD is at least weird, and in fact seems broken and useless.
I should fix up another layer of binding, declared IGNORABLE, for
typed lambda list arguments.

10:
The way that the compiler munges types with arguments together
with types with no arguments (in e.g. TYPE-EXPAND) leads to
Expand Down Expand Up @@ -245,35 +239,6 @@ WORKAROUND:
a secondary error "caught ERROR: unrecoverable error during compilation"
and then return with FAILURE-P true,

25:
from CMU CL mailing list 01 May 2000

I realize I can take care of this by doing (proclaim (ignore pcl::.slots1.))
but seeing as .slots0. is not-exported, shouldn't it be ignored within the
+expansion
when not used?

In: DEFMETHOD FOO-BAR-BAZ (RESOURCE-TYPE)
(DEFMETHOD FOO-BAR-BAZ
((SELF RESOURCE-TYPE))
(SETF (SLOT-VALUE SELF 'NAME) 3))
--> BLOCK MACROLET PCL::FAST-LEXICAL-METHOD-FUNCTIONS
--> PCL::BIND-FAST-LEXICAL-METHOD-MACROS MACROLET
--> PCL::BIND-LEXICAL-METHOD-FUNCTIONS LET PCL::BIND-ARGS LET* PCL::PV-BINDING
--> PCL::PV-BINDING1 PCL::PV-ENV LET
==>
(LET ((PCL::.SLOTS0. #))
(PROGN SELF)
(BLOCK FOO-BAR-BAZ
(LET #
#)))
Warning: Variable PCL::.SLOTS0. defined but never used.

Compilation unit finished.
1 warning

#<Standard-Method FOO-BAR-BAZ (RESOURCE-TYPE) {480918FD}>

26:
reported by Sam Steingold on the cmucl-imp mailing list 12 May 2000:

Expand Down
2 changes: 2 additions & 0 deletions NEWS
Expand Up @@ -642,6 +642,8 @@ changes in sbcl-0.6.10 relative to sbcl-0.6.9:
some time ago.

changes in sbcl-0.6.11 relative to sbcl-0.6.10:
* Martin Atzmueller pointed out that bugs #9 and #25 are gone in
current SBCL.
* bug 34 fixed by Martin Atzmueller: dumping/loading instances works
better
* fixed bug 40: TYPEP, SUBTYPEP, UPGRADED-ARRAY-ELEMENT-TYPE,
Expand Down
5 changes: 3 additions & 2 deletions package-data-list.lisp-expr
Expand Up @@ -674,7 +674,7 @@ retained, possibly temporariliy, because it might be used internally."
"*SETF-FDEFINITION-HOOK*"

;; non-standard but widely useful user-level functions..
"ASSQ" "DELQ" "MEMQ"
"ASSQ" "DELQ" "MEMQ" "POSQ" "NEQ"
"%FIND-PACKAGE-OR-LOSE" "FIND-UNDELETED-PACKAGE-OR-LOSE"
"SANE-PACKAGE"
"CIRCULAR-LIST-P"
Expand Down Expand Up @@ -1292,7 +1292,8 @@ definitely not guaranteed to be present in later versions of SBCL."
"PACKAGE-DOC-STRING"
"PACKAGE-HASHTABLE-SIZE" "PACKAGE-HASHTABLE-FREE"
"PACKAGE-INTERNAL-SYMBOLS" "PACKAGE-EXTERNAL-SYMBOLS"
"SB!INT" "SB!EXT"))
"SB!INT" "SB!EXT")
("SB!INT" "MEMQ" "ASSQ" "DELQ" "POSQ" "NEQ"))
:reexport ("ADD-METHOD" "ALLOCATE-INSTANCE"
"COMPUTE-APPLICABLE-METHODS"
"ENSURE-GENERIC-FUNCTION"
Expand Down
14 changes: 14 additions & 0 deletions src/code/boot-extensions.lisp
Expand Up @@ -228,3 +228,17 @@
(setq list (cdr x))
(rplacd splice (cdr x))))
(t (setq splice x)))))) ; Move splice along to include element.


;; (defmacro posq (item list) `(position ,item ,list :test #'eq))
(defun posq (item list)
#!+sb-doc
"Returns the position of the first element EQ to ITEM."
(do ((i list (cdr i))
(j 0 (1+ j)))
((null i))
(when (eq (car i) item)
(return j))))

;; (defmacro neq (x y) `(not (eq ,x ,y)))
(defun neq (x y) (not (eq x y)))
4 changes: 2 additions & 2 deletions src/code/late-type.lisp
Expand Up @@ -1873,8 +1873,8 @@
|#
;; old code
(reduce #'type-union
(mapcar #'specifier-type type-specifiers)
:initial-value *empty-type*))
(mapcar #'specifier-type type-specifiers)
:initial-value *empty-type*))

;;;; CONS types

Expand Down
1 change: 1 addition & 0 deletions src/cold/warm.lisp
Expand Up @@ -159,6 +159,7 @@
"src/pcl/iterate"
"src/pcl/early-low"
"src/pcl/macros"
"src/pcl/compiler-support"
"src/pcl/low"
"src/pcl/fin"
"src/pcl/defclass"
Expand Down

0 comments on commit 475c832

Please sign in to comment.