r6rs script w/ unbound identifier = # of arguments error
Bug #160395 reported by
Joe Near
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Ikarus Scheme |
Fix Released
|
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
Changed in ikarus: | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.
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"