Advertisement
Guest User

Untitled

a guest
Aug 24th, 2019
95
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lisp 0.65 KB | None | 0 0
  1. CL-USER> (defclass shit-metaclass ()
  2.            ((default-initargs :initarg :direct-default-initargs)
  3.             (direct-slots :initarg :direct-slots)
  4.             (direct-superclasses :initarg :direct-superclasses)
  5.             (documentation :initarg :documentation)
  6.             (name :initarg :name)))
  7. #<STANDARD-CLASS COMMON-LISP-USER::SHIT-METACLASS>
  8. CL-USER> (defclass shit-class () () (:metaclass shit-metaclass))
  9.  
  10. Invalid initialization arguments:
  11.   SB-PCL::SAFE-P, SB-PCL::SOURCE
  12. in call for class #<STANDARD-CLASS COMMON-LISP-USER::SHIT-METACLASS>.
  13.    [Condition of type SB-PCL::INITARG-ERROR]
  14. See also:
  15.   Common Lisp Hyperspec, 7.1.2 [:section]
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement