[asdf-devel] oddity in operation-times...

Robert Goldman rpgoldman at sift.info
Wed Dec 14 20:17:34 UTC 2011


I think I have found an oddity in ASDF operation times….  If you have a
system that doesn't contain any files, then the OPERATION-TIMES never
get populated, even if the system is loaded.

How can this happen?  If you have a system that is loaded simply in
order to make a component-dependent-pathname available, then it might
not have any files in it.

If such a system is loaded, I would expect that the (PERFORM COMPILE-OP
SYSTEM) and (PERFORM LOAD-OP SYSTEM) methods should run (well, at least
the latter, and that the operation-times for the system should be set.

Unfortunately, it seems that if you have an empty system, then the
LOAD-OP is never performed on that system object.  My guess is that
there's some logic that says that you only need to perform an operation
on a module if the operation is performed on at least one of its components.

I can imagine how we got here, but it seems like a bad fit for this case.

<sigh> the semantics of operations on modules never cease to cough up
oddities. </sigh>

r




More information about the asdf-devel mailing list