- Sort Score
- Result 10 results
- Languages All
Results 1 - 1 of 1 for setGotypesalias (0.16 sec)
-
src/go/types/api_test.go
t.Run(fmt.Sprintf("EnableAlias=%t", enableAlias), func(t *testing.T) { setGotypesalias(t, enableAlias) a := Universe.Lookup("any") if _, gotAlias := a.Type().(*Alias); gotAlias != enableAlias { t.Errorf(`Lookup("x").Type() is %T: got Alias: %t, want %t`, a.Type(), gotAlias, enableAlias) } }) } } func setGotypesalias(t *testing.T, enable bool) { if enable {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 23 01:00:11 UTC 2024 - 94.2K bytes - Viewed (0)