Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for structuralTypes (0.33 sec)

  1. src/cmd/vendor/golang.org/x/tools/go/analysis/passes/stringintconv/string.go

    		pass.Report(diag)
    	})
    	return nil, nil
    }
    
    func structuralTypes(t types.Type) ([]types.Type, error) {
    	var structuralTypes []types.Type
    	if tp, ok := aliases.Unalias(t).(*types.TypeParam); ok {
    		terms, err := typeparams.StructuralTerms(tp)
    		if err != nil {
    			return nil, err
    		}
    		for _, term := range terms {
    			structuralTypes = append(structuralTypes, term.Type())
    		}
    	} else {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 04 16:19:04 UTC 2024
    - 5.2K bytes
    - Viewed (0)
Back to top