New warning in TCA Example tests using Xcode 14

I'm not sure if I should create an issue or someone here might know more information about this.

I upgraded to Xcode 14. Download the TCA repo and went into examples. Now I can see these warnings everywhere store.send is being used:

Btw this is from AppCoreTests in the example folder for TicTacToe project.

This was an issue with Swift 5.7 that was fixed but didn't make the cut for Xcode 14 [5.7] [Sema] Look through FunctionConversionExpr when finding @discardableResult callee by theblixguy · Pull Request #60386 · apple/swift · GitHub

3 Likes

That is unfortunately a bug in Swift. It has been fixed recently, but may not ship with Xcode until the next release.

2 Likes