[Sema] Diagnose method arg captures that are not Hashable/Equatable.

This commit is contained in:
Amritpan Kaur
2025-01-16 19:07:00 -08:00
parent 970159c09d
commit a96b780a28
6 changed files with 36 additions and 8 deletions

View File

@@ -256,6 +256,10 @@ public:
/// of the key path at some index.
bool isKeyPathSubscriptComponent() const;
/// Determine whether this locator points to a member component
/// of the key path at some index.
bool isKeyPathMemberComponent() const;
/// Determine whether this locator points to the member found
/// via key path dynamic member lookup.
bool isForKeyPathDynamicMemberLookup() const;