Re: [racket-dev] Compile error from DrRacket

2010-12-16 Thread Robby Findler
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  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
>  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  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  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
>
_
  For list-related administrative tasks:
  http://lists.racket-lang.org/listinfo/dev

Re: [racket-dev] Compile error from DrRacket

2010-12-16 Thread Robby Findler
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  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  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
> _
>  For list-related administrative tasks:
>  http://lists.racket-lang.org/listinfo/dev
>
_
  For list-related administrative tasks:
  http://lists.racket-lang.org/listinfo/dev

Re: [racket-dev] Compile error from DrRacket

2010-12-16 Thread Carl Eastlund
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
 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  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  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
_
  For list-related administrative tasks:
  http://lists.racket-lang.org/listinfo/dev


Re: [racket-dev] Compile error from DrRacket

2010-12-16 Thread Carl Eastlund
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  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
_
  For list-related administrative tasks:
  http://lists.racket-lang.org/listinfo/dev


[racket-dev] Compile error from DrRacket

2010-12-16 Thread Carl Eastlund
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
_
  For list-related administrative tasks:
  http://lists.racket-lang.org/listinfo/dev