Skip to content

Commit 11d98c8

Browse files
committed
Add keypath method/initializer handling for predicate macro.
1 parent 3b31f75 commit 11d98c8

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

Sources/FoundationMacros/PredicateMacro.swift

+1
Original file line numberDiff line numberDiff line change
@@ -394,6 +394,7 @@ extension KeyPathExprSyntax {
394394
case .subscript(let sub):
395395
result = ExprSyntax(SubscriptCallExprSyntax(calledExpression: result, arguments: sub.arguments))
396396
#if FOUNDATION_FRAMEWORK
397+
case .method(let method):
397398
default:
398399
return nil
399400
#endif

0 commit comments

Comments
 (0)