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.
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.