> Does anyone know why the following script (it is just the bare
> skeleton of another script doing something actually useful) gives the
> message "Warning: invalid variable reference" (twice!) on Scsh 0.6.4?
> (Also see the transcript below)
> The warning is triggered by the (ERROR MSG) form in MYUSAGE; if I
> comment that out the warning is silenced. But I don't see why the call
> to ERROR should be ``invalid'' here. Evaluating the definition of
> MYUSAGE directly in the REPL works just fine, both in the 'user' and
> in the 'frobnicate' package . What am I missing?
I found it (or rather an indication of "it"'s rough whereabouts). If I
remove the (OPTIMIZE AUTO-INTEGRATE) clause, automatic inlining is
turned off and so is the warning, which I assume is related to
inlining. Still I don't understand what exactly ist going on. So let
me rephrase my question: What exactly does the optimizer barf at?