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
Wow, this is interesting. I agree that it's desirable that it should work, but I have no idea at all about how to make it work. The macro expands to an implementation of the function, and in that function body, the name refers to the function itself and not the type.
It's reasonably easy to work around, though, by being explicit about the name of the type.
I tried to mock a method with this signature:
void reply(reply)
and the compiler complained with:So it thinks that the type name is actually the method again.
For better or worse AFAIK the method signature is valid, so it would be good if
trompeloeil
could mock such a case.The text was updated successfully, but these errors were encountered: