require, mzc, and outdated files. Was: Re: [plt-scheme] complile-file and debugging

From: Will M Farr (farr at MIT.EDU)
Date: Tue Apr 10 12:59:22 EDT 2007


Sorry to break off the thread like this, but I'm curious about  
something regarding the following comment by Robby:

On Apr 10, 2007, at 12:28 PM, Robby Findler wrote:

> You don't want to do that. Instead, do this:
>  (require (lib "" "my own collection"))
> Require is smart enough to look int the compiled directory, and will
> use the compiled file if it is there, and if it is newer than the .ss
> file.

Sometimes when working on a large project, I get errors which say  
something about "identifier not found at the expected position in  
module |,/path/to/module|" (I may not be getting this quite right).   
This happens when I make a change deep in a require-hierarchy and do  
not re-compile the code using mzc, but a previous version was compiled.

Is this something that I should report as a bug?  It's a bit  
annoying, though it's usually easy enough to issue a mzc -k on the  
module you're trying to invoke when you get the error.  Do other  
people get the same errors?


Posted on the users mailing list.