- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for inScope (0.08 sec)
-
src/cmd/compile/internal/types2/api_test.go
t.Fatal(err) } lookup := func(name string) Type { return pkg.Scope().Lookup(name).Type() } fnScope := pkg.Scope().Lookup("fn").(*Func).Scope() tests := []struct { name string obj Object }{ // Struct fields {"field", lookup("t").Underlying().(*Struct).Field(0)}, {"field", fnScope.Lookup("r").Type().Underlying().(*Struct).Field(0)}, // Methods and method fields
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
t.Fatal(err) } lookup := func(name string) Type { return pkg.Scope().Lookup(name).Type() } fnScope := pkg.Scope().Lookup("fn").(*Func).Scope() tests := []struct { name string obj Object }{ // Struct fields {"field", lookup("t").Underlying().(*Struct).Field(0)}, {"field", fnScope.Lookup("r").Type().Underlying().(*Struct).Field(0)}, // Methods and method fields
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 23 01:00:11 UTC 2024 - 94.2K bytes - Viewed (0)