src/codegen-proto.lisp (definst): Don't assume STREAMVAR is `stream'.
authorMark Wooding <mdw@distorted.org.uk>
Sun, 26 Jul 2020 00:46:56 +0000 (01:46 +0100)
committerMark Wooding <mdw@distorted.org.uk>
Fri, 4 Jun 2021 18:58:58 +0000 (19:58 +0100)
Apparently it always is anyway.  Oops.

src/codegen-proto.lisp

index 0d0bc22..65f4745 100644 (file)
           (with-slots ,(mapcar #'list public private) ,inst-var
             (if *print-escape*
                 (print-unreadable-object (,inst-var ,streamvar :type t)
-                  (format stream "~@<~@{~S ~@_~S~^ ~_~}~:>"
+                  (format ,streamvar "~@<~@{~S ~@_~S~^ ~_~}~:>"
                           ,@(mappend #'list keys public)))
                 (block ,code ,@body))))
         ,@(and export `((export '(,class-name ,constructor-name