- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for TestMissingMethodAlternative (0.2 sec)
-
src/cmd/compile/internal/types2/api_test.go
want = true } if got := AssertableTo(V, T); got != want { t.Errorf("AssertableTo(%s, %s) = %t, want %t", V, T, got, want) } } } func TestMissingMethodAlternative(t *testing.T) { const src = ` package p type T interface { m() } type V0 struct{} func (V0) m() {} type V1 struct{} type V2 struct{} func (V2) m() int
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue May 07 20:08:23 UTC 2024 - 93.3K bytes - Viewed (0) -
src/go/types/api_test.go
want = true } if got := AssertableTo(V, T); got != want { t.Errorf("AssertableTo(%s, %s) = %t, want %t", V, T, got, want) } } } func TestMissingMethodAlternative(t *testing.T) { const src = ` package p type T interface { m() } type V0 struct{} func (V0) m() {} type V1 struct{} type V2 struct{} func (V2) m() int
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 23 01:00:11 UTC 2024 - 94.2K bytes - Viewed (0)