Closed rfindler closed 4 years ago
This message actually appears each time I open a new DrRacket window (but not new tab).
Thanks for the report! Indeed that's the current behaviour and it needs to change.
The reason behind this is 'shadow scripts'. Since the shadowed script is disabled, it still needs to be compiled if the shadowing script is compiled. I thought that compile-zos
does not recompile dependencies, so I chose to recompile everything, but that's not ideal.
Ideally, the dependencies of scripts should be recompiled too (the shadowed script is a dependency of the shadowing script), but I'm not sure what's the right way to do it.
So my question is: What's the correct way to recompile dependencies?
Matthew just confirmed that compile-zos
doesn't compile dependencies, but compile-directory-zos
does, so I'll try to switch to the latter.
The last commit should resolve your problem. Can you confirm it works as expected?
One of my scripts, bars.rkt, has a free identifier in it. It is disabled via the Manage Scripts | Disable Scripts... menu:
When I start up DrRacket, however, I see this message:
Probably it should be ignored, since it is disabled?