Skip to content

Commit 5ba2a16

Browse files
committed
Selectively disable type dispatch mechanism on some Lisps
1 parent f2a1e69 commit 5ba2a16

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

types.lisp

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -480,6 +480,9 @@ Serapeum, `with-templated-body'. One possible expansion is based on
480480
the `string-dispatch' macro used internally in SBCL. But most of the
481481
credit should go to the paper \"Fast, Maintable, and Portable Sequence
482482
Functions\", by Irène Durand and Robert Strandh."
483+
#+(or clasp clisp)
484+
`(locally ,@body)
485+
#-(or clasp clisp)
483486
`(locally (declare #+sbcl (sb-ext:muffle-conditions sb-ext:code-deletion-note))
484487
,(let* ((types (simplify-subtypes types))
485488
(var-type (variable-type var env))

0 commit comments

Comments
 (0)