Why must subscript parameter types be Hashable for key-paths?

Method key path components would have the same restriction as subscript indexes. In order for KeyPath itself to be hashable, all the components it captures have to be as well.

3 Likes