Closed ccqpein closed 2 months ago
On my sbcl 2.4.5 I do not get this note. On which sbcl you get this note?
But type declarations are always good :)
@kilianmh Interesting, my sbcl version is 2.4.5 too. Through homebrew on macos
brew info sbcl
==> sbcl: stable 2.4.5 (bottled), HEAD Steel Bank Common Lisp system
I added a type annotation to the
match
macro so that the compiler won't complain when the optimization level is 3.Example:
In the current code, the compiler (sbcl) will print notes:
After this PR,
sbcl
will be happy with it.