()
| 1018 | } |
| 1019 | |
| 1020 | func (t *InterfaceType) LocalTypeParameters() []*Type { |
| 1021 | if len(t.allTypeParameters) == 0 { |
| 1022 | return nil |
| 1023 | } |
| 1024 | return slices.Clip(t.allTypeParameters[t.outerTypeParameterCount : len(t.allTypeParameters)-1]) |
| 1025 | } |
| 1026 | |
| 1027 | func (t *InterfaceType) TypeParameters() []*Type { |
| 1028 | if len(t.allTypeParameters) == 0 { |
no test coverage detected