Open ryanaveo opened 1 year ago
any update on this? simplest solution would be to add some increasing index to ones after the first one with the same name.
I have exactly the same issue.
A potential solution could be adding a prefix or suffix to the generated mock using something like:
/// @mockable(method: postfix = Foo)
Environment
macOS 13.4.1 Swift version 5.8.1 Xcode 14.3.1 v2.0.1
Issue
The following code produces a mock that does not compile successfully
Protocols to Mock
Generated Mock
Error