[plt-scheme] problem with check syntax : was "How do optional parameters work"
I have exactly the same error with vista 64 bits with any programs in module
language
path->complete-path: expects argument of type <path (for any platform) or
string>; given |expanded module|
=== context ===
C:\Program Files
(x86)\PLT-FULL-3.99.0.26\collects\setup\path-relativize.ss:36:2:
path->main-relative*
C:\Program Files (x86)\PLT-FULL-3.99.0.26\collects\scribble\basic.ss:103:0:
module-path-index->taglet
C:\Program Files (x86)\PLT-FULL-3.99.0.26\collects\scribble\search.ss:60:9:
loop
C:\Program Files (x86)\PLT-FULL-3.99.0.26\collects\scribble\xref.ss:89:2:
xref-binding-tag
C:\Program Files (x86)\PLT-FULL-3.99.0.26\collects\scribble\xref.ss:119:0:
xref-binding->definition-tag
C:\Program Files
(x86)\PLT-FULL-3.99.0.26\collects\drscheme\syncheck.ss:2474:4:
document-variable
C:\Program Files
(x86)\PLT-FULL-3.99.0.26\collects\drscheme\syncheck.ss:1773:30
C:\Program Files
(x86)\PLT-FULL-3.99.0.26\collects\drscheme\syncheck.ss:1736:4:
annotate-variables
C:\Program Files
(x86)\PLT-FULL-3.99.0.26\collects\drscheme\syncheck.ss:1182:38
C:\Program Files
(x86)\PLT-FULL-3.99.0.26\collects\drscheme\syncheck.ss:1179:35
De : plt-scheme-bounces at list.cs.brown.edu
[mailto:plt-scheme-bounces at list.cs.brown.edu] De la part de David Einstein
Envoyé : June-08-08 4:26 PM
À : PLT Scheme Mailing List
Objet : [plt-scheme] How do optional parameters work
If I enter the following module into DrScheme, version 3.99.0.26-svn6jun2008
(self compiled on a ubuntu zmd64 (module language)
#lang scheme
(provide foo)
(define (foo a #:optional (b #f)) #t)
and hit check syntax
I get an internal error
path->complete-path: expects argument of type <path (for any platform) or
string>; given |expanded module|
and Dr scheme is in a confused state with nothing showing up in the
definitions window (it does not want to look at my code, and so it assumes
that I don't either)
I'm not sure whether I am screwed up, or this is a bug. Probably both.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.racket-lang.org/users/archive/attachments/20080608/7df7a28c/attachment.html>