[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Chicken-janitors] #296: Import with renaming fails when syntax refers t
From: |
Chicken Trac |
Subject: |
[Chicken-janitors] #296: Import with renaming fails when syntax refers to exported binding |
Date: |
Mon, 26 Jul 2010 08:01:51 -0000 |
#296: Import with renaming fails when syntax refers to exported binding
---------------------------+------------------------------------------------
Reporter: felix | Owner: felix
Type: defect | Status: new
Priority: critical | Milestone: 4.6.0
Component: expander | Version: 4.5.x
Keywords: module export |
---------------------------+------------------------------------------------
(reported by Imran Rafique)
The following fails:
{{{
(module foo (bar baz)
(import scheme chicken)
(define (baz x)
(print x))
(define-syntax bar
(syntax-rules ()
((_ x) (baz x))))
)
(import (prefix foo f:))
(f:bar 1)
}}}
If the export list is replaced by `((bar baz))`, then it works. The reason
is that the SE of `bar` in the former case does not contain `baz`.
--
Ticket URL: <http://www.irp.oist.jp/trac/chicken/ticket/296>
Chicken Scheme <http://www.call-with-current-continuation.org/>
Chicken Scheme is a compiler for the Scheme programming language.
- [Chicken-janitors] #296: Import with renaming fails when syntax refers to exported binding,
Chicken Trac <=