You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Xcode 15.3 / Swift 5.10 introduces a new concurrency check in complete mode that ensures subclasses have the same isolation as their superclasses. This is triggered on the following simple case:
@MainActorfinalclassTest:XCTestCase{}
which prints Main actor-isolated class 'Test' has different actor isolation from nonisolated superclass 'XCTestCase'; this is an error in Swift 6. The solution is to move the annotation to each of the test methods. This is tedious so I wonder if SwiftFormat could help?
The text was updated successfully, but these errors were encountered:
This is probably a bit much, but...
Xcode 15.3 / Swift 5.10 introduces a new concurrency check in
complete
mode that ensures subclasses have the same isolation as their superclasses. This is triggered on the following simple case:which prints
Main actor-isolated class 'Test' has different actor isolation from nonisolated superclass 'XCTestCase'; this is an error in Swift 6
. The solution is to move the annotation to each of the test methods. This is tedious so I wonder if SwiftFormat could help?The text was updated successfully, but these errors were encountered: