-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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
Fix AffineTransform.rotate(byRadians:)
implementation.
#3012
Conversation
@filip-sakel are you interested in adding a test for this so I can merge? |
I'll probably be done by the day after tomorrow because I'm also updating some legacy code. |
@swift-ci test |
I ran the tests against BigSur 11.5's Foundation using the |
OK, I looked at the failing tests and these seem to be the issues:
|
I fixed the size transformation; let me know if there's any other issue. |
@swift-ci please test |
There seems to be a Swift test failure on linux. I fetched @MaxDesiatov could you please try another CI validation? |
@swift-ci please test |
The error is caused by |
Thanks, Max; I didn't notice this error on the first CI build. I've updated the code to use a new |
@swift-ci please test |
Any update on this? |
@swift-ci please test and merge |
It fell through the cracks, but it was good. |
@swift-ci please test macOS platform |
The macOS CI failure is caused by the this assertion in the compiler:
|
Please test with following PRs: @swift-ci please test macOS platform |
@millenomi would you mind if this is merged? |
Only after swiftlang/swift#41115 is merged. |
Per discussion: other patches have gone in, do not block on 41115. Merging. |
(The checks on the last round weren't done, but checks prior to that were green and there were no patch changes.) |
This PR makes
rotate(byRadians:)
cumulative. The implementation is corrected; however, test coverage hasn't been added.