Error message for non integer index into vector could be improved.

Description

The exception generated in APersistentVector/invoke and also in APersistentVector/assoc when the index is not an integer would be better if it included the class of the object actually passed in and would be better still if it included the actual value.

Environment

None

Activity

Show:

Alex Miller June 1, 2017 at 1:25 AM

Needs assessment of current paths through core that reach this (and whether the change in question would be better or worse when that happens).

Details

Assignee

Reporter

Labels

Approval

Triaged

Priority

Affects versions

Created May 31, 2017 at 7:49 PM
Updated June 1, 2017 at 1:25 AM