mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
[Sema] Diagnose method arg captures that are not Hashable/Equatable.
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user