This issue was moved to a discussion.
You can continue the conversation there. Go to discussion →
Tests fail to build in Xcode 16 beta #167
Labels
apple bug
Something isn't working due to a bug on Apple's platforms
Describe the bug
I'm using this library as part of a feature that uses TCA, and I believe that it's the CasePaths library specifically that's causing my test suite to fail to build. The app itself builds and runs as expected.
To Reproduce
I have two tests that cover both the success and failure cases of an
Action
that has an associated value ofResult<Void, Error>
type, used within a feature annotated with the@Reducer
macro:My test cases look like this:
Expected behavior
The test suite should build without error.
Environment
Additional context
Changing the
Void
success type to some other concrete type such as Bool results in the tests building successfully. Also removing the.success
and.failure
from the case path in the.receive()
calls results in the tests building successfully.I use the
Void
type in this instance because I have an external (non-TCA) object that handles the loading and data management that the.fetch
action triggers.The text was updated successfully, but these errors were encountered: