[plt-scheme] Bug or misuse?

From: Jens Axel Søgaard (jensaxel at soegaard.net)
Date: Wed Jul 15 15:33:35 EDT 2009

2009/7/15 Matthew Flatt <mflatt at cs.utah.edu>:
> In any case, you might want the function `module-path-index-resolve'
> from `scheme/base'.

I think resolve-module-path-index is what I need
(I need to the relative-to-path).

> At Wed, 15 Jul 2009 09:49:10 -0500, Robby Findler wrote:
>> It may be both, but there is definitely a bug in modresolve.ss or in
>> its contract.

This may or may not be related. In DrScheme I click the syntax check icon,
then right clicked at "module-dependices.scm" and got an internal error from
DrScheme. In the terminal from which DrScheme was started, I found the
following:

split-path: expects argument of type <path (for any platform) or
string>; given #<resolved-module-path:"/Users/jensaxelsoegaard/Work/scheme/old/src/dj-meta/module-dependencies.scm">

 === context ===
/Applications/PLT Scheme Full v4.2.0.6/collects/drscheme/syncheck.ss:2271:6
/Applications/PLT Scheme Full
v4.2.0.6/collects/scheme/private/map.ss:44:11: for-each
/Applications/PLT Scheme Full
v4.2.0.6/collects/drscheme/syncheck.ss:659:12: on-event method in
...drscheme/syncheck.ss:221:10
/Applications/PLT Scheme Full
v4.2.0.6/collects/mred/private/wxme/editor-canvas.ss:381:2: on-event
method in editor-canvas%
/Applications/PLT Scheme Full
v4.2.0.6/collects/scheme/private/more-scheme.ss:158:2:
call-with-break-parameterization
/Applications/PLT Scheme Full
v4.2.0.6/collects/scheme/private/more-scheme.ss:274:2:
call-with-exception-handler

-- 
Jens Axel Søgaard


Posted on the users mailing list.