projects
/
sbcl.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
1.0.33.25: switch SB-QUEUE into using ASDF
[sbcl.git]
/
tests
/
clos.pure.lisp
diff --git
a/tests/clos.pure.lisp
b/tests/clos.pure.lisp
index
803b48a
..
ae8b524
100644
(file)
--- a/
tests/clos.pure.lisp
+++ b/
tests/clos.pure.lisp
@@
-54,7
+54,7
@@
;;; (i.e. portably) but it's much easier using the MOP and
;;; MAP-ALL-CLASSES.
(flet ((standardized-class-p (c)
;;; (i.e. portably) but it's much easier using the MOP and
;;; MAP-ALL-CLASSES.
(flet ((standardized-class-p (c)
- (find-symbol (symbol-name (class-name c)) "CL")))
+ (eq (class-name c) (find-symbol (symbol-name (class-name c)) "CL"))))
(let (result)
(sb-pcl::map-all-classes
(lambda (c) (when (standardized-class-p c)
(let (result)
(sb-pcl::map-all-classes
(lambda (c) (when (standardized-class-p c)
@@
-71,3
+71,13
@@
(when (and std (< std last))
(push `(:std ,c) result))))))
(assert (null result))))
(when (and std (< std last))
(push `(:std ,c) result))))))
(assert (null result))))
+
+;; No compiler-notes for non-constant slot-names in default policy.
+(handler-case
+ (compile nil '(lambda (x y z)
+ (setf (slot-value x z)
+ (slot-value y z))))
+ (sb-ext:compiler-note (e)
+ (error e)))
+
+