minimock
minimock copied to clipboard
Bug in mock for specialized interface
I found bug on generating specialized interface v.3.4.5, v.3.4.7 Source:
package tmp
type Maker[T any] interface {
MakeSlice(capacity int) []T
}
type IntMaker interface {
Maker[int]
}
In generated file exist reference to unknown type "T":
// IntMakerMockMakeSliceResults contains results of the IntMaker.MakeSlice
type IntMakerMockMakeSliceResults struct {
ta1 []T
}
#BUG