Summary
reexporting does not fully work for core library exports
Metadata
- Id: 06c89e8aea2eac311263433665b3bb29d4db9e3e
- Trac id: 85
- Type: defect
- Reporter: felix
- Owner: felix
- Cc:
- Status: closed
- Component: core-pending
- Estimated difficulty:
- Resolution: fixed
- Priority: major
- Milestone:
- Version: 4.2.x
- Changetime: 2010-03-11 10:33:12 UTC
- Created: 2009-10-19 12:05:48 UTC
- Keywords:
Description
This code
(module x () (import scheme chicken) (require-library srfi-1) (reexport (only srfi-1 cons*)))
will result in an unbound reference to `#%cons*`, when the import library is compiled. It seems that the alias symbol has a missing `##core#primitive` property (which indicates that reexports of primitive symbols (non-module core library bindings) must be treated specially and somehow store this information in the import library).
Changes and comments
[2009-10-28 16:44:26 UTC] felix changed version from 4.1.x to 4.2.x
[2009-10-28 16:44:26 UTC] felix changed component from expander to core-pending
[2009-10-28 16:44:26 UTC] felix wrote:
This should be fixed in commit 1e4cd5ff9206cbae2434a3ae487de9987c8a54b0.