Tracing confused by zero number of return values

Bug #185276 reported by Derick Eddington on 2008-01-23
2
Affects Status Importance Assigned to Milestone
Ikarus Scheme
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
>

Abdulaziz Ghuloum (aghuloum) wrote :

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

Changed in ikarus:
status: New → Fix Committed
importance: Undecided → Low
assignee: nobody → aghuloum

On Wed, 2008-01-23 at 08:16 +0000, Abdulaziz Ghuloum wrote:
> Fixed in 1366. Thanks.

Thanks for fixing things quickly.

Abdulaziz Ghuloum (aghuloum) wrote :

This bug report is about to be closed as the fix comitted
previously will be incorporated in the next 0.0.3 release of
Ikarus Scheme, scheduled for January 31, 2008. A release
candidate tarball is available for download from:
http://www.cs.indiana.edu/~aghuloum/ikarus/ikarus-0.0.3-rc1.tar.gz
Please do test it if you have the time and report any issues
you might encounter. Thank you very much for your support.
(Sorry for the duplicates; I'm updating every open bug.)

Changed in ikarus:
milestone: none → 0.0.3
Changed in ikarus:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers