- Sort Score
- Result 10 results
- Languages All
Results 21 - 22 of 22 for Headless (0.14 sec)
-
src/cmd/compile/internal/types2/api_test.go
T := pkg.Scope().Lookup("T").Type().(*Named) if n := T.TypeParams().Len(); n != 1 { t.Fatalf("expected 1 type parameter; found %d", n) } // instantiation should succeed (no endless recursion) // even with a nil *Checker res, err := Instantiate(nil, T, []Type{Typ[Int]}, false) if err != nil { t.Fatal(err) } // instantiated type should point to itself
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 := pkg.Scope().Lookup("T").Type().(*Named) if n := T.TypeParams().Len(); n != 1 { t.Fatalf("expected 1 type parameter; found %d", n) } // instantiation should succeed (no endless recursion) // even with a nil *Checker res, err := Instantiate(nil, T, []Type{Typ[Int]}, false) if err != nil { t.Fatal(err) } // instantiated type should point to itself
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 23 01:00:11 UTC 2024 - 94.2K bytes - Viewed (0)