Comment 10 for bug 722552

Revision history for this message
Nikodemus Siivola (nikodemus) wrote :

> CONSTANTP only macroexpands when an environment is explicitly given. This is awkward, is there any good reason for that?

Yes. If the environment is not given we don't know what it contains, and cannot safely macroexpand: the real environment might invalidate our expansion. The world is full of code that calls CONSTANTP without passing an environment.