Summary
artificially constructed identifiers are not recognized as exports
Metadata
- Id: db483dcff9d9446ca40ee55c836168506d2fdb27
- Trac id: 83
- Type: defect
- Reporter: felix
- Owner: felix
- Cc:
- Status: closed
- Component: expander
- Estimated difficulty:
- Resolution: worksforme
- Priority: major
- Milestone:
- Version: 4.2.x
- Changetime: 2010-03-11 10:33:12 UTC
- Created: 2009-10-13 12:10:35 UTC
- Keywords:
Description
The following example fails, because `##sys#register-export` in expand.scm doesn't find the (probably aliased) toplevel identifier.
(module zzz (zap)
(import scheme chicken)
(define-syntax (zap x r c)
`(,(r 'define) ,(r (string->symbol (string-append "make-" (symbol->string (cadr x)))))
99)))
(module foo (make-graphics)
(import scheme chicken zzz)
; adding "(define make-graphics)" would make this example work
(zap graphics)
)
Changes and comments
[2009-10-22 09:47:57 UTC] felix changed status from new to closed
[2009-10-22 09:47:57 UTC] felix set resolution to worksforme
[2009-10-22 09:47:57 UTC] felix wrote:
Mot doing the rename of the identifier appears to solve this issue.