- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for concreteMethod (0.16 sec)
-
src/go/types/api_test.go
func TestInstantiatedObjects(t *testing.T) { const src = ` package p type T[P any] struct { field P } func (recv *T[Q]) concreteMethod(mParam Q) (mResult Q) { return } type FT[P any] func(ftParam P) (ftResult P) func F[P any](fParam P) (fResult P){ return } type I[P any] interface { interfaceMethod(P) }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 23 01:00:11 UTC 2024 - 94.2K bytes - Viewed (0) -
src/cmd/compile/internal/types2/api_test.go
func TestInstantiatedObjects(t *testing.T) { const src = ` package p type T[P any] struct { field P } func (recv *T[Q]) concreteMethod(mParam Q) (mResult Q) { return } type FT[P any] func(ftParam P) (ftResult P) func F[P any](fParam P) (fResult P){ return } type I[P any] interface { interfaceMethod(P) }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue May 07 20:08:23 UTC 2024 - 93.3K bytes - Viewed (0)