syntax-case bug
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Ikarus Scheme |
Fix Committed
|
High
|
Abdulaziz Ghuloum |
Bug Description
Ikarus Scheme version 0.0.3+ (revision 1452, build 2008-04-20)
Copyright (c) 2006-2008 Abdulaziz Ghuloum
> (syntax-case '(lambda (x) x) (lambda) [(lambda (x) y) #'x])
Unhandled exception
Condition components:
1. &assertion
2. &who: stx-mark*
3. &message: "not a struct of required type"
4. &irritants: (lambda #<stx rtd>)
> (syntax-case '(lambda (x) x) (lambda) [(lambda (x) y) 'x])
Unhandled exception
Condition components:
1. &assertion
2. &who: stx-mark*
3. &message: "not a struct of required type"
4. &irritants: (lambda #<stx rtd>)
Petite Chez Scheme Version 7.4
Copyright (c) 1985-2007 Cadence Research Systems
> (syntax-case '(lambda (x) x) (lambda) [(lambda (x) y) #'x])
x
> (syntax-case '(lambda (x) x) (lambda) [(lambda (x) y) 'x])
x
Cheers
leppie
Related branches
Changed in ikarus: | |
milestone: | none → 0.0.4 |
Definitely a bug. Will fix. Thanks.