vseloved / rutils

Radical Utilities for Common Lisp
Other
250 stars 37 forks source link

VOID macro declaimed as inline #59

Open slyrus opened 3 years ago

slyrus commented 3 years ago

The following line in misc.lisp declaims the macro VOID to be inline:

(declaim (inline or2 and2 xor2 void true))

This should probably be removed.

jcguu95 commented 5 months ago

Indeed! According to the standard (Declaration INLINE), inlining macros has no effect (nor an error), unless a compiler macro is provided for the name.

inline and notinline declarations otherwise have no effect when the lexically visible definition of function-name is a macro definition.