[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
#1812: Modules leaking define-for-syntax variables and functions
From: |
Chicken Trac |
Subject: |
#1812: Modules leaking define-for-syntax variables and functions |
Date: |
Thu, 13 Oct 2022 13:47:54 -0000 |
#1812: Modules leaking define-for-syntax variables and functions
---------------------------------------+-----------------------------
Reporter: Idiomdrottning | Type: defect
Status: new | Priority: major
Milestone: someday | Component: core libraries
Version: 5.3.0 | Keywords: modules, syntax
Estimated difficulty: |
---------------------------------------+-----------------------------
{{{
(module foo
(foo-deluxe)
(import scheme (chicken base) (chicken syntax))
(define-for-syntax (bar) (print "hi!"))
(define-syntax foo-deluxe
(syntax-rules ()
((foo-deluxe) (bar))))
)
(import foo)
(foo-deluxe)
(bar)
(set! bar #f)
(foo-deluxe)
}}}
Is this intentional?
--
Ticket URL: <https://bugs.call-cc.org/ticket/1812>
CHICKEN Scheme <https://www.call-cc.org/>
CHICKEN Scheme is a compiler for the Scheme programming language.
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- #1812: Modules leaking define-for-syntax variables and functions,
Chicken Trac <=