[racket] show-requires isn't submodule-aware?

From: Spencer Florence (spencer at florence.io)
Date: Thu Jan 8 13:12:13 EST 2015

Something else odd I see with show-requires. If its called directly on a
submodule it errors:

-> (show-requires '(submod (file "submod.rkt") test))
; result arity mismatch;
;  expected number of values not received
;   expected: 1
;   received: 2
;   values...:
\Sz�configure-runti...figure-runtime�:gtest
;    (p:module #<syntax:/tmp/x.rkt:1:0 (module x racket (#%module-be...>
#<syntax:/tmp/x.rkt:1:0 (module x racket (#%module-be.....
;   context...:
;
 /Applications/Racket/racket/share/pkgs/macro-debugger-text-lib/macro-debugger/analysis/check-requires.rkt:103:0:
show-requires
;
 /Applications/Racket/racket/collects/racket/contract/private/arrow-val-first.rkt:265:18
;    /Applications/Racket/racket/share/pkgs/xrepl-lib/xrepl/xrepl.rkt:1395:0
;    /Applications/Racket/racket/collects/racket/private/misc.rkt:87:7

On Thu Jan 08 2015 at 12:49:00 PM Greg Hendershott <
greghendershott at gmail.com> wrote:

> I'm actually really curious how it works and tempted to try to fix it
> myself, because I expect I would learn so much. What I don't know is
> how much learning that would turn out to be, and how long it would
> take me. Especially if your intuition is that it might be hard, for
> you. :)
>
> In any case I don't think it's an urgent issue.
> ____________________
>   Racket Users list:
>   http://lists.racket-lang.org/users
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.racket-lang.org/users/archive/attachments/20150108/e58d6139/attachment.html>

Posted on the users mailing list.