i’m getting different behavior in compiled code, and i can’t figure out why. if i rm -rf aici/compiled aici/deliberator/compiled
, and do racket aici/deliberator/engine.rkt
then my program runs.
if i raco make -j 4 aici/deliberator.rkt aici/deliberator/*.rkt
, when i try to run my program i get this:
no module instance found: #<resolved-module-path:"/Users/wiseman/src/aici/deliberator/rules.rkt"> 0
That’s odd.
Which Racket version?
7.2. I just fixed it by never using errortrace
.
this isn’t the first time i’ve had weird issues caused by compiled code and errortrace
.
I’ve not seen that particular problem before.
that is, i had a a couple files that used #lang errortrace racket
. i changed those back to #lang racket
Is your program doing anything module related besides using require
and provide
?
i don’t think so. (there’s usually also some (module+ test ...)
forms too)
You’re welcome! (It always feels like you should have thought of it earlier…)