Skip to content

Commit

Permalink
[fix] (declare (ignorable ...)) in specialized-type-lists/static
Browse files Browse the repository at this point in the history
  • Loading branch information
digikar99 committed Mar 28, 2024
1 parent e0e0e60 commit aac14d6
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/nonlite/misc-tests.lisp
Expand Up @@ -348,13 +348,13 @@
(undefine-polymorphic-function 'most-specialized-polymorph-tester)
(define-polymorphic-function most-specialized-polymorph-tester (a))
(defpolymorph most-specialized-polymorph-tester ((a string)) symbol
(declare (ignore a))
(declare (ignorable a))
'string)
(defpolymorph-compiler-macro most-specialized-polymorph-tester (string) (a)
(declare (ignore a))
(declare (ignorable a))
`'(compiled string))
(defpolymorph most-specialized-polymorph-tester ((a array)) symbol
(declare (ignore a))
(declare (ignorable a))
'array)
(define-compiled-function most-specialized-polymorph-tester-caller ()
(declare (optimize speed (debug 1)))
Expand Down

0 comments on commit aac14d6

Please sign in to comment.