Closed aaronbarsky closed 4 months ago
Thanks for reporting this and providing the source as well as generated code for both versions. The fix itself shouldn't be difficult, but I'll see what I can do about the Swift 6 warning as well.
I've added your test sample to the unit tests, so this error shouldn't occur again. 🙂 Please try out 2.0.2 to see if it's fixed your issue completely.
Furthermore this issue made me prod the DefaultImplCaller
altogether and find out it actually (probably, according to the unit tests) doesn't require the generic parameters as it's already got them available through the class it resides in.
Brilliant. Compiles without warnings and my unit tests pass. Thanks for the quick turnaround.
Glad to hear that. 🙂 Closing issue then.
Using 2.0.1 I am trying to mock the following file.
1.10 produces the valid mock
2.0.1 produces invalid code
Note the 1.10.0 code has a Swift 6 warning
but for now it is functional.
The 2.0.1 code with
Output, Output:Equatable
does not compile