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
Hey, @chaseklingelzen, I'm actually not sure regarding these new @Sendable closures. I haven't found the time yet to implement all the new Swift 6 features, so we're missing some tests as well.
I wonder if you could define your own anySendableClosure matcher which would help Swift target the method you want.
Hi,
We have the following protocol:
Our generated mock creates the following (note the difference where one actually creates @escaping @sendable and the other does not):
Our unit test is set up like so:
The issue is the stub is not pointing at this func:
It is pointing at this func:
I'm aware we have anyClosure as option for argument (see below). This doesn't work.
My question is how do we make the stub point at the @escaping @sendable version of the stubbed func?
The text was updated successfully, but these errors were encountered: