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
The @exported import of XCTestDynamicOverlay causes the use of XCTFail in tests and test helpers where you import both XCTest and Dependencies (or something that implicitly imports Dependencies like ComposableArchitecture) to result in a compiler error due to am ambiguous use of XCTFail.
Hey @lukeredpath! Just to get a better understanding of the bug, can you share a repro? We have quite a few suites that import both ComposableArchitecture and XCTest and haven't hit this yet, and it'd be nice to have some regression testing in place for any potential fix.
Description
The @exported import of XCTestDynamicOverlay causes the use of
XCTFail
in tests and test helpers where you import both XCTest and Dependencies (or something that implicitly imports Dependencies like ComposableArchitecture) to result in a compiler error due to am ambiguous use ofXCTFail
.This is effectively a regression of pointfreeco/swift-composable-architecture#747 and I ran into this upgrading from TCA 0.45 to 0.49.
Checklist
main
branch of this package.Expected behavior
You should be able to use XCTFail in tests/test helpers without error.
Actual behavior
Fails to compile.
Steps to reproduce
No response
Dependencies version information
0.1.2
Destination operating system
No response
Xcode version information
Xcode 14.2
Swift Compiler version information
No response
The text was updated successfully, but these errors were encountered: