Tracing confused by zero number of return values
Bug #185276 reported by
Derick Eddington
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Ikarus Scheme |
Fix Released
|
Low
|
Abdulaziz Ghuloum |
Bug Description
In the first trace printout, it looks like B was called by A, but it wasn't. The other trace printouts are correct.
Ikarus Scheme version 0.0.2patched+ (revision 1364, build 2008-01-22)
Copyright (c) 2006-2008 Abdulaziz Ghuloum
> (trace-define (A x) (values))
> (trace-define (B x) (* x x))
> (begin (A 1) (B 1))
|(A 1)
||(B 1)
|1
1
> (trace-define (A2 x) (void))
> (begin (A2 1) (B 1))
|(A2 1)
|#<void>
|(B 1)
|1
1
> (trace-define (A3 x) (values x x x))
> (begin (A3 1) (B 1))
|(A3 1)
|1 1 1
|(B 1)
|1
1
>
Changed in ikarus: | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.
Fixed in 1366. Thanks. This is what I get now:
> (trace-define (A x) (values))
> (trace-define (B x) (* x x))
> (begin (A 1) (B 1))
|(A 1)
|
|(B 1)
|1
1
> (trace-define (A2 x) (void))
> (begin (A2 1) (B 1))
|(A2 1)
|#<void>
|(B 1)
|1
1
> (trace-define (A3 x) (values x x x))
> (begin (A3 1) (B 1))
|(A3 1)
|1 1 1
|(B 1)
|1
1
> ^D