[plt-scheme] Specifying directory sandbox evalutes file requires relative to

From: Matthew Flatt (mflatt at cs.utah.edu)
Date: Fri Aug 29 17:19:59 EDT 2008

At Fri, 29 Aug 2008 15:13:12 -0600, Matthew Flatt wrote:
> > WARNING: collected information for key multiple times: (exporting-libraries 
> #f)
> > "modcollapse.ss" broke the contract
> >   (->
> >    (or/c symbol? module-path-index?)
> >    (or/c
> >     ...etc...
> >     path?))
> > on collapse-module-path-index; expected <(or/c (and/c module-path?
> > (or/c symbol? (cons/c (symbols (quote lib)) any/c) (cons/c (symbols
> > (quote file)) any/c) (cons/c (symbols (quote planet)) any/c) (cons/c
> > (symbols (quote quote)) any/c))) path?)>, given: (planet
> > "../generic/connection.ss" ("untyped" "snooze.plt" 2))
> > 
> > This require statement points outside the package!  It does not appear
> > anywhere in my code, so I assume it is created in generating the
> > Scribble docs.
> 
> This must be a bug in `setup/modcollapse'. Does your code have a
> "../generic/connection.ss" relative path somewhere? Or some other form
> of reference to "connection.ss"? 

Nevermind. I managed to find a combination of references that
triggers this bug.

Matthew



Posted on the users mailing list.