interfaces
interfaces copied to clipboard
Generating interfaces for functions that use generics is broken
If you have a function like:
func (a* MyStruct) Fun1(arg Generic[string])
The resultant interface method will be:
func Fun1(arg Generic)
It seems like the type args used to instantiate the generic are dropped when the interface parameters and results are generated.