- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for EmptyIface (0.23 sec)
-
src/cmd/compile/internal/types2/api_test.go
conf := Config{Error: func(error) {}} pkg, _ := conf.Check(f.PkgName.Value, []*syntax.File{f}, nil) lookup := func(tname string) Type { return pkg.Scope().Lookup(tname).Type() } var ( EmptyIface = lookup("EmptyIface").Underlying().(*Interface) I = lookup("I").(*Named) II = I.Underlying().(*Interface) C = lookup("C").(*Named) CI = C.Underlying().(*Interface)
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
conf := Config{Error: func(error) {}} pkg, _ := conf.Check(f.Name.Name, fset, []*ast.File{f}, nil) lookup := func(tname string) Type { return pkg.Scope().Lookup(tname).Type() } var ( EmptyIface = lookup("EmptyIface").Underlying().(*Interface) I = lookup("I").(*Named) II = I.Underlying().(*Interface) C = lookup("C").(*Named) CI = C.Underlying().(*Interface)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 23 01:00:11 UTC 2024 - 94.2K bytes - Viewed (0)