chicken-janitors
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Chicken-janitors] #154: rexporting syntax fails with compiled import li


From: Chicken Trac
Subject: [Chicken-janitors] #154: rexporting syntax fails with compiled import libraries
Date: Sat, 02 Jan 2010 00:10:37 -0000

#154: rexporting syntax fails with compiled import libraries
----------------------+-----------------------------------------------------
 Reporter:  felix     |       Owner:  felix
     Type:  defect    |      Status:  new  
 Priority:  major     |   Milestone:  4.4.0
Component:  expander  |     Version:  4.3.x
 Keywords:  reexport  |  
----------------------+-----------------------------------------------------
 The following fails, when m1.import.scm is compiled:

 {{{
 (module x ()
   (import scheme chicken)
   (reexport srfi-13)
   (require-library srfi-13))
 }}}

 When `use`ing `x`, the rexported syntax (`let-string-start+end`) will not
 be found, because the import is done during execution of `x.import.so`,
 and is not retained in the macro environment (that's the reason `eval` is
 used in import libs for the normal imports).

 A possible fix may be adding the reexported modules to the normal imports,
 not the meta-imports.

-- 
Ticket URL: <http://www.irp.oist.jp/trac/chicken/ticket/154>
Chicken Scheme <http://www.call-with-current-continuation.org/>
Chicken Scheme is a compiler for the Scheme programming language.

reply via email to

[Prev in Thread] Current Thread [Next in Thread]