[ sisc-Bugs-740708 ] gensym for module exports equates too much

"SourceForge.net" <[email protected]>
Newsgroups gmane.comp.java.sisc.devel
Message-ID <[email protected]>
Bugs item #740708, was opened at 2003-05-20 12:20
Message generated for change (Tracker Item Submitted) made by Item Submitter
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=379534&aid=740708&group_id=23735

Category: None
Group: None
Status: Open
Resolution: None
Priority: 7
Submitted By: Matthias Radestock (mradestock)
Assigned to: Nobody/Anonymous (nobody)
Summary: gensym for module exports equates too much

Initial Comment:
(module foo
    (m1 m2)
  (module m1
      (bar)
    (define (bar) 1))
  (module m2
      (bar)
    (define (bar) 2)))

(import foo)
(import m1)
(bar) ;=> 2 instead of 1

Taking a look at the macro expansion I see
 ...
  (begin
    (define \@foo1::bar '#!void)
    (define \@foo1::bar '#!void))
  (begin
    (begin
      (set! \@foo1::bar (lambda () '1))
      (set! \@foo1::bar (lambda () '2)))
    '#!void)
  '#!void)

I think this is due to the changes we made to the
symbol generation for module identifiers in order to
get independent compilation.


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

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=379534&aid=740708&group_id=23735


-------------------------------------------------------
This SF.net email is sponsored by: ObjectStore.
If flattening out C++ or Java code to make your application fit in a
relational database is painful, don't do it! Check out ObjectStore.
Now part of Progress Software. http://www.objectstore.net/sourceforge
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.