Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Remove extra string cast from
map
(chapel-lang#22844)
Removes the potential for a deprecation warning when accessing a map of a non-primitive key type. The `Map` module's `KeyNotFoundError` uses `string.format` to create error message for keys of any type. However, one of map's `this` assessors was casting the key to string when creating a `KeyNotFoundError`, which can create a deprecation warning as of chapel-lang#22068. This PR removes that cast. - [x] paratest [ trivial - not reviewed ]
- Loading branch information