Fix unwrap panic in extract_number_for_key
in impl TraitAccessorPrivate for CTFontTraits
on macOS Ventura.
#735
+18
−1
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This splits out the final chunk of #517 to be reviewed and merged.
As discussed on that PR, in an ideal world, we'd have a test we could write to prove that this is required.
In practice, Warp has been using the logic in that PR for the past 3 years without issues. We did attempt, 6 months ago, to switch over to upstream (without the patch here) and had to revert that change due to this still being an issue for users running Ventura.
Given the above, we have confidence that: