flatten-codes raises exception: "no exception label"
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Ikarus Scheme |
Fix Committed
|
Low
|
Abdulaziz Ghuloum |
Bug Description
This code doesn't work with fx<?, but does work with <:
Ikarus Scheme version 0.0.3+ (revision 1574, build 2008-08-05, 64-bit)
Copyright (c) 2006-2008 Abdulaziz Ghuloum
> (define (fxlog2 x)
(let lp ((x x) (y 1))
(if (fx<? y (fixnum-width))
(lp (fxior x (fxarithmetic-
Unhandled exception
Condition components:
1. &error
2. &who: flatten-codes
3. &message: "no exception label"
4. &irritants: ()
> (define (fxlog2 x)
(let lp ((x x) (y 1))
(if (< y (fixnum-width))
(lp (fxior x (fxarithmetic-
>
Related branches
Changed in ikarus: | |
milestone: | none → 0.0.4 |
Fixed in 1575.