Swank style-warning
Douglas Katzman <[email protected]> Tue, 15 Oct 2024 11:25:20 -0400
| Newsgroups | gmane.lisp.slime.devel |
|---|---|
| Message-ID | <CAOrNasxZ6xp7u6TXQs4g6fiWwwVev_Ka2Ccik6vyXNffuT3D4Q@mail.gmail.com> |
--00000000000072da1c0624859074
Content-Type: text/plain; charset="UTF-8"
Can you push something like this to avoid a warning? I don't remember if I
can commit.
--- a/swank/backend.lisp
+++ b/swank/backend.lisp
@@ -1386,6 +1386,9 @@ return nil.
Return :interrupt if an interrupt occurs while waiting."
(declare (ignore streams timeout))
+ ;; This defvar can't be moved to 'backend.lisp' because the initializing
form isn't evaluable
+ ;; until an implementation method is loaded for
(preferred-communication-style)
+ (declare (special swank:*communication-style*))
;; Invoking the slime debugger will just endlessly loop.
(call-with-debugger-hook
nil
--00000000000072da1c0624859074
Content-Type: text/html; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
<div dir=3D"ltr">Can you push something like this to avoid a warning? I don=
't remember if I can commit.<div><div><div><br></div></div></div><div>-=
-- a/swank/backend.lisp<br>+++ b/swank/backend.lisp<br>@@ -1386,6 +1386,9 @=
@ return nil.<br>=C2=A0<br>=C2=A0Return :interrupt if an interrupt occurs w=
hile waiting."<br>=C2=A0 =C2=A0(declare (ignore streams timeout))<br>+=
=C2=A0;; This defvar can't be moved to 'backend.lisp' because =
the initializing form isn't evaluable<br>+ =C2=A0;; until an implementa=
tion method is loaded for (preferred-communication-style)<br>+ =C2=A0(decla=
re (special swank:*communication-style*))<br>=C2=A0 =C2=A0;; Invoking the s=
lime debugger will just endlessly loop.<br>=C2=A0 =C2=A0(call-with-debugger=
-hook<br>=C2=A0 =C2=A0 nil<br></div></div>
--00000000000072da1c0624859074--