Summary
only, except and rename don't work on core syntactic forms
Metadata
- Id: cbfd7535d4323ad1e65edc3806bd0aed6bc5075f
- Trac id: 18
- Type: defect
- Reporter: ashinn
- Owner: felix
- Cc:
- Status: closed
- Component: expander
- Estimated difficulty:
- Resolution: duplicate
- Priority: major
- Milestone:
- Version: 4.0.1
- Changetime: 2009-12-11 09:07:06 UTC
- Created: 2009-04-25 13:06:07 UTC
- Keywords:
Description
CHICKEN (c)2008-2009 The Chicken Team (c)2000-2007 Felix L. Winkelmann Version 4.0.2 - SVN rev. 14239 macosx-unix-gnu-x86 [[|manyargs dload ptables applyhook ]] compiled 2009-04-16 on pchelka (Darwin)
#;1> (module x () (import (rename scheme (lambda fn))) ((fn (x) (+ x x)) 2))
- loading /usr/local/lib/chicken/4/scheme.import.so ...
Warning: renamed identifier not imported: (lambda fn)
Warning: reference to possibly unbound identifier: x
Warning: reference to possibly unbound identifier: fn
Error: module unresolved: x
Call history: <syntax> (module x () (import (rename scheme (lambda fn))) ((fn (x) (+ x x)) 2)) <syntax> (##core#module x () (import (rename scheme (lambda fn))) ((fn (x) (+ x x)) 2)) <syntax> (import (rename scheme (lambda fn))) <syntax> (##core#undefined) <syntax> ((fn (x) (+ x x)) 2) <syntax> (fn (x) (+ x x)) <syntax> (x) <syntax> (+ x x) <--
#;1>
Changes and comments
[2009-04-25 23:07:38 UTC] felix changed status from new to assigned
[2009-04-25 23:07:38 UTC] felix wrote:
This is a known problem - several core forms are not defined as syntax, but are handled directly by the compiler and interpreter.
[2009-05-29 14:58:36 UTC] felix changed component from compiler to expander
[2009-05-29 14:58:36 UTC] felix removed milestone
[2009-12-11 09:07:06 UTC] felix changed status from assigned to closed
[2009-12-11 09:07:06 UTC] felix set resolution to duplicate
[2009-12-11 09:07:06 UTC] felix wrote:
See #49