[racket-dev] Running in DrRacket changes behavior of the `compiler/cm` library

From: Danny Yoo (dyoo at hashcollision.org)
Date: Sat Feb 2 18:39:24 EST 2013

>
> With this in place, PLaneT2 package installation appears to be behaving.


The other hack in there that's making me feel a little uncomfortable is this:

    https://github.com/dyoo/racket/commit/df221a6266dc347556e19b98e091b8a62ef8bc8b



If I don't do this, then as soon as I do the following interaction:

---
#lang racket
(require planet2)
(install "sxml")
---

followed by:

---
#lang racket
(require sxml)
----


then DrRacket again tries to compile sxml with DrRacket debug
annotations.  But I do not understand this at all!  Shouldn't the
module loader be looking at all the paths in use-compiled-file-paths
before deciding to recompile?

Posted on the dev mailing list.