- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for TestEmbeddedMethod (0.13 sec)
-
src/cmd/compile/internal/types2/object_test.go
{t5, false}, // type name refers to type parameter and vice versa } { check(test.name, test.alias) } } // TestEmbeddedMethod checks that an embedded method is represented by // the same Func Object as the original method. See also go.dev/issue/34421. func TestEmbeddedMethod(t *testing.T) { const src = `package p; type I interface { error }` pkg := mustTypecheck(src, nil, nil) // get original error.Error method
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Apr 18 14:10:44 UTC 2024 - 5.2K bytes - Viewed (0) -
src/go/types/object_test.go
{t5, false}, // type name refers to type parameter and vice versa } { check(test.name, test.alias) } } // TestEmbeddedMethod checks that an embedded method is represented by // the same Func Object as the original method. See also go.dev/issue/34421. func TestEmbeddedMethod(t *testing.T) { const src = `package p; type I interface { error }` pkg := mustTypecheck(src, nil, nil) // get original error.Error method
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Apr 18 14:10:44 UTC 2024 - 5.2K bytes - Viewed (0)