Strange error message
Bug #176710 reported by
Michael D. Adams
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Ikarus Scheme |
Fix Released
|
Low
|
Abdulaziz Ghuloum |
Bug Description
This message wasn't too hard to figure out but it is a bit strange:
> (caddr (list 1 2))
Unhandled exception
Condition components:
1. &assertion
2. &who: caddr
3. &message: "invalid list structure"
4. &irritants: ((1 2))
The argument actually is a valid list structure, its just not long enough for caddr. Note that the same error is also given for caar so just changing it to "list to short" would also be wrong.
Again, given the &irritants and the &who, its not too hard to figure out the actual error, but the &message is way off base.
Changed in ikarus: | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.
> Again, given the &irritants and the &who, its not too hard to
> figure out
> the actual error, but the &message is way off base.
Okay, what do you propose it should be?
BTW: this is almost the same message that Chez gives, and frankly,
for any
of the c[ad]+r functions, there is only one way for them to go wrong and
that should go without explanation.