Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update if/switch expression workaround for Swift 5.9 bug to handle as! cast #1584

Merged
merged 1 commit into from
Nov 18, 2023

Conversation

calda
Copy link
Collaborator

@calda calda commented Nov 17, 2023

This PR fixes an issue where conditionalBranchHasUnsupportedCastOperator handled as? casts but not as! casts (which are also unsupported in if/switch expressions in Swift 5.9).

Copy link

codecov bot commented Nov 17, 2023

Codecov Report

All modified and coverable lines are covered by tests ✅

Comparison is base (a208d66) 95.02% compared to head (2678fd1) 95.01%.

Additional details and impacted files
@@             Coverage Diff             @@
##           develop    #1584      +/-   ##
===========================================
- Coverage    95.02%   95.01%   -0.01%     
===========================================
  Files           20       20              
  Lines        21842    21843       +1     
===========================================
- Hits         20755    20754       -1     
- Misses        1087     1089       +2     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@nicklockwood
Copy link
Owner

Thank you!

@nicklockwood nicklockwood merged commit 36344de into nicklockwood:develop Nov 18, 2023
6 of 7 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants