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

Ambiguous use of XCTFail #12

Closed
lukeredpath opened this issue Aug 25, 2021 · 1 comment
Closed

Ambiguous use of XCTFail #12

lukeredpath opened this issue Aug 25, 2021 · 1 comment

Comments

@lukeredpath
Copy link

I'm trying to update TCA from 0.22 to 0.25.1 in our app which has meant updating to 0.2.1 of XCTestDynamicOverlay.

Now wherever we are importing both ComposableArchitecture and XCTest (generally in helper/utility files in our test target) we are getting Ambiguous use of 'XCTFail(_:file:line:) errors in Xcode.

I'm trying to use the actual XCTFail from XCTest here as I know it is available but there doesn't seem to be a way to reference it - XCTest.XCTFail doesn't work. This leaves me with only one option and that is using XCTestDynamicOverlay.XCTFail instead. It seems a bit unnecessary to have to do this when I know the actual XCTFail is available.

I'm not sure what has changed to cause this and whether or not this is an issue with XCTestDynamicOverlay or ComposableArchitecture - I'm wondering if perhaps its the latter and TCA is now doing an @_exported XCTestDynamicOverlay somewhere that it wasn't before?

lukeredpath referenced this issue in pointfreeco/swift-composable-architecture Aug 25, 2021
* wip

* wip

* wip

* wip

* wip

* wip

* wip

* wip

* wip

* wip

* wip

* fix

* wip

* wip

* Model Tic-Tac-Toe board using proper type

* wip

* wip

* wip

* wip

Co-authored-by: Brandon Williams <[email protected]>
@lukeredpath
Copy link
Author

Closing in favour of pointfreeco/swift-composable-architecture#747 as I think this is a TCA bug.

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

No branches or pull requests

1 participant