-
Notifications
You must be signed in to change notification settings - Fork 1.3k
Open
Description
The following code does not compile anymore with Xcode 26.4
[self _insideComposedCharacterSequences:line position:position block: ^(CGFloat left, CGFloat right, NSUInteger prev, NSUInteger next) {
if (isVertical) {
position = fabs(left - point.y) < fabs(right - point.y) < (right ? prev : next);
} else {
position = fabs(left - point.x) < fabs(right - point.x) < (right ? prev : next);
}
}];
[self _insideEmoji:line position:position block: ^(CGFloat left, CGFloat right, NSUInteger prev, NSUInteger next) {
if (isVertical) {
position = fabs(left - point.y) < fabs(right - point.y) < (right ? prev : next);
} else {
position = fabs(left - point.x) < fabs(right - point.x) < (right ? prev : next);
}
}];
It's a bit hard to assume intent from what is basically illegal behavior, I assumed it was meant to be this:
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels