Skip to content
This repository has been archived by the owner on Aug 8, 2023. It is now read-only.

Commit

Permalink
[ios] self -> NSExpression
Browse files Browse the repository at this point in the history
  • Loading branch information
jmkiley committed Sep 25, 2019
1 parent 650a231 commit c48e450
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion platform/darwin/src/NSExpression+MGLAdditions.mm
Original file line number Diff line number Diff line change
Expand Up @@ -1056,7 +1056,7 @@ - (id)mgl_jsonExpressionObject {
case NSFunctionExpressionType: {
NSString *function = self.function;

BOOL hasCollectionProperty = !( ! [self.arguments.firstObject isKindOfClass: [self class]] || self.arguments.firstObject.expressionType == NSConstantValueExpressionType || self.arguments.firstObject.expressionType == NSKeyPathExpressionType
BOOL hasCollectionProperty = !( ! [self.arguments.firstObject isKindOfClass: [NSExpression class]] || self.arguments.firstObject.expressionType == NSConstantValueExpressionType || self.arguments.firstObject.expressionType == NSKeyPathExpressionType
|| self.arguments.firstObject.expressionType == NSVariableExpressionType
);
NSString *op = MGLExpressionOperatorsByFunctionNames[function];
Expand Down

0 comments on commit c48e450

Please sign in to comment.