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
Hi, @myihsan. This seems like a forgotten generic parameters string in the mock template, should be a fairly easy fix. Though the tests should have contained a generic init, I must have overlooked this.
Hey, I fixed this issue in the fix/protocol-generic-init, though I found out that generic methods in protocols aren't supported either. I'm not sure if it's possible to add that functionality with the current way it works, so I'll keep you posted in case I think of something and have the time to implement it.
The code generated by the protocol above will have an initializer like below which cause a compiler error.
It looks like the type placeholder is missing when generating for an initializer.
The text was updated successfully, but these errors were encountered: