defdfun, defdmacro: Fix reloading.
authorStas Boukarev <stassats@gmail.com>
Fri, 1 Feb 2013 23:44:36 +0000 (03:44 +0400)
committerStas Boukarev <stassats@gmail.com>
Fri, 1 Feb 2013 23:44:36 +0000 (03:44 +0400)
commit5725905d0845422ffb993305440e12f9e8968eb6
tree25005731ee526f076ca5079449835172592b0af1
parente05142f327b0b5f0107b361bc66ba7e2163975c2
defdfun, defdmacro: Fix reloading.

When recompiling an already loaded file, the macroexpansion-time check
for FBOUND prevents the definition to be compiled, and when the resulting
fasl is loaded into a fresh image, the definition will be missing.
Move the fbound check into the expansion itself.
src/default-implementations.lisp