r6rs script w/ unbound identifier = # of arguments error

Bug #160395 reported by Joe Near on 2007-11-06
2
Affects Status Importance Assigned to Milestone
Ikarus Scheme
High
Abdulaziz Ghuloum

Bug Description

An r6rs script with no imports but a single reference to an unbound identifier, for example:

p

Causes the error:

Unhandled exception:
 Condition components:
   1. &error
   2. &who: apply
   3. &message: "incorrect number of argument"
   4. &irritants: (1 #<procedure error>)

Of course this should cause an error, but it looks like the call to error in the implementation is incorrect.

Joe

Abdulaziz Ghuloum (aghuloum) wrote :

Fixed in revision 994.
Does this sound better?

Unhandled exception:
 Condition components:
   1. &error
   2. &who: expander
   3. &message: "top-level program is missing an (import ---) clause"

Changed in ikarus:
assignee: nobody → aghuloum
importance: Undecided → High
status: New → Fix Committed
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.2 release of Ikarus Scheme,
scheduled for November 28, 2007.
A release candidate tarball is available for download from:
  http://www.cs.indiana.edu/~aghuloum/ikarus/ikarus-0.0.2-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. Aziz,,,
(Sorry for the duplicates; I'm updating every open bug.)

Changed in ikarus:
milestone: none → 0.0.2
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