[plt-scheme] problem with check syntax : was "How do optionalparameters work"

From: Jos Koot (jos.koot at telefonica.net)
Date: Mon Jun 9 04:23:17 EDT 2008

I already mailed on the PLT list that the PLT team has already solved this problem. Load the newest nightly build (june 8) I did download it and Check Syntax works great and fast. I am not a PLT man, but a user. Long ago Matthias Felleisen once reprimanded me that errors should be reported by filing a bug report (after checking whether or not the error was already filed by someone else) The archive is easily found at http://www.plt-scheme.org/support.html Filing a bug report is easy from the help menu in DrScheme.
Jos


Has been solved.
With thanks to Matthew Flatt (and PLT in general)
See   http://bugs.plt-scheme.org/query/?cmd=view&pr=9466
Jos
  ----- Original Message ----- 
  ----- Original Message ----- 
  From: Andre Mayers 
  To: 'PLT Scheme Mailing List' 
  Sent: Monday, June 09, 2008 12:06 AM
  Subject: [plt-scheme] problem with check syntax : was "How do optionalparameters 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.



------------------------------------------------------------------------------


  _________________________________________________
    For list-related administrative tasks:
    http://list.cs.brown.edu/mailman/listinfo/plt-scheme
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.racket-lang.org/users/archive/attachments/20080609/53dc11cd/attachment.html>

Posted on the users mailing list.