OK, the DR build issue is gone.<br><br>But the following in DR.<br><br><br>#lang typed/racket<br><br>(provide x)<br><br>(module M typed/racket<br> (provide x)<br> (define: x : Natural 3))<br><br>(require (submod "." M))<br>
<br>x<br><br>;; end<br><br>Give me the following when run:<br><br>. . ../../usr/local/racket/collects/typed-racket/env/env-req.rkt:9:4: standard-module-name-resolver: cycle in loading<br> at path: /home/ray/test.rkt<br> paths:<br>
/home/ray/test.rk<br><div class="gmail_extra"><br><br><div class="gmail_quote">On Mon, Nov 19, 2012 at 10:44 AM, Matthew Flatt <span dir="ltr"><<a href="mailto:mflatt@cs.utah.edu" target="_blank">mflatt@cs.utah.edu</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Can you try `raco setup -c' followed by `raco setup'?<br>
<br>
I fixed bugs in the bytecode compiler, and I forgot to increment the<br>
version number to make sure that bytecode files are rebuilt.<br>
<div class="HOEnZb"><div class="h5"><br>
At Mon, 19 Nov 2012 10:33:27 -0500, Ray Racine wrote:<br>
> Did a quick sync and build and I'm seeing a Racket internal error on<br>
> launching DR.<br>
> Error invoking tool<br>
> #<path:/usr/local/racket/collects/drracket>;"syncheck.rkt"<br>
><br>
> Error invoking tool<br>
> #<path:/usr/local/racket/collects/drracket>;"syncheck.rkt"<br>
><br>
> UNKNOWN: : read (compiled): ill-formed code [./../src/validate.c:1167]<br>
><br>
><br>
> UNKNOWN: : read (compiled): ill-formed code [./../src/validate.c:1167]<br>
><br>
><br>
><br>
> On Mon, Nov 19, 2012 at 10:21 AM, Sam Tobin-Hochstadt <<a href="mailto:samth@ccs.neu.edu">samth@ccs.neu.edu</a>>wrote:<br>
><br>
> > On Sun, Nov 18, 2012 at 9:02 PM, Ray Racine <<a href="mailto:ray.racine@gmail.com">ray.racine@gmail.com</a>> wrote:<br>
> > > #lang typed/racket<br>
> > ><br>
> > > (provide x)<br>
> > ><br>
> > > (module M typed/racket<br>
> > > (provide x)<br>
> > > (define: x : Natural 3))<br>
> > ><br>
> > > (require (submod "." M))<br>
> > ><br>
> > > ;; end-of-file<br>
> > ><br>
> > > Submodules don't work in TR (at least the above variation). I added a<br>
> > few<br>
> > > debug statements and it does appear the when requiring a submodule<br>
> > defined<br>
> > > within the enclosing file it fact TR attempts to dynamic-require the<br>
> > current<br>
> > > source file/module again.<br>
> ><br>
> > This program works correctly for me in DrRacket and racket (built<br>
> > yesterday). What problem are you seeing?<br>
> ><br>
> > --<br>
> > sam th<br>
> > <a href="mailto:samth@ccs.neu.edu">samth@ccs.neu.edu</a><br>
> ><br>
</div></div><div class="HOEnZb"><div class="h5">> ____________________<br>
> Racket Users list:<br>
> <a href="http://lists.racket-lang.org/users" target="_blank">http://lists.racket-lang.org/users</a><br>
</div></div></blockquote></div><br></div>