[racket-dev] Compile error from DrRacket

From: Robby Findler (robby at eecs.northwestern.edu)
Date: Thu Dec 16 17:13:54 EST 2010

Sounds like DrRacket should delete the .zo file (from its cache, at
least) in that case. I've pushed a change that does that. Do let me
know if you see problems now.

Thanks,
Robby

On Thu, Dec 16, 2010 at 2:10 PM, Carl Eastlund <cce at ccs.neu.edu> wrote:
> Ah ha, I have figured out the problem.  I had the .zo file, but *not*
> the original .rkt file, so there was nothing for DrRacket to
> recompile.  Sorry for the false alarm!
>
> Carl Eastlund
>
> On Thu, Dec 16, 2010 at 3:05 PM, Robby Findler
> <robby at eecs.northwestern.edu> wrote:
>> That shouldn't happen, since that is a file created by DrRacket for
>> its own compilation thingy and when those are created either they are
>> ignored or they are brought up to date. I don't suppose you can make
>> this happen on command?
>>
>> Robby
>>
>> On Thu, Dec 16, 2010 at 1:51 PM, Carl Eastlund <cce at ccs.neu.edu> wrote:
>>> Er, sorry, I also had a local module called "rackunit.rkt", the error
>>> message was probably referring to that rather than the rackunit
>>> collection.  Regardless, I am still wondering whether the compiler is
>>> supposed to raise an error or simply recompile the file.
>>>
>>> Carl Eastlund
>>>
>>> On Thu, Dec 16, 2010 at 2:48 PM, Carl Eastlund <cce at ccs.neu.edu> wrote:
>>>> DrRacket 5.0.2 gave me this error in a program using rackunit:
>>>>
>>>> compiled/drracket/errortrace/rackunit_rkt.zo:1:0: read (compiled):
>>>> code compiled for version 5.0.1, not 5.0.2
>>>>
>>>> Is this a bug or a "feature"?
>>>>
>>>> Carl Eastlund
>


Posted on the dev mailing list.