We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 3b31f75 commit f9273e4Copy full SHA for f9273e4
Sources/FoundationMacros/PredicateMacro.swift
@@ -394,6 +394,8 @@ extension KeyPathExprSyntax {
394
case .subscript(let sub):
395
result = ExprSyntax(SubscriptCallExprSyntax(calledExpression: result, arguments: sub.arguments))
396
#if FOUNDATION_FRAMEWORK
397
+ case .method(let method):
398
+ result = ExprSyntax(FunctionCallExprSyntax(calledExpression: method, arguments: method.arguments))
399
default:
400
return nil
401
#endif
0 commit comments