- Sort Score
- Result 10 results
- Languages All
Results 1 - 1 of 1 for NewInterfaceA (0.26 sec)
-
src/internal/types/testdata/fixedbugs/issue61879.go
} // Larger example from issue type InterfaceA[T comparable] interface { setData(string) InterfaceA[T] } type ImplA[T comparable] struct { data string args []any } func NewInterfaceA[T comparable](args ...any) InterfaceA[T] { return &ImplA[T]{ data: fmt.Sprintf("%v", args...), args: args, } } func (k *ImplA[T]) setData(data string) InterfaceA[T] { k.data = data return k }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Aug 15 19:42:56 UTC 2023 - 1K bytes - Viewed (0)