Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for SoleComponent (0.1 sec)

  1. src/cmd/compile/internal/walk/convert.go

    				return types.TUINT32, types.TFLOAT64
    			}
    		}
    	}
    	return types.Txxx, types.Txxx
    }
    
    func soleComponent(init *ir.Nodes, n ir.Node) ir.Node {
    	if n.Type().SoleComponent() == nil {
    		return n
    	}
    	// Keep in sync with cmd/compile/internal/types/type.go:Type.SoleComponent.
    	for {
    		switch {
    		case n.Type().IsStruct():
    			if n.Type().Field(0).Sym.IsBlank() {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Oct 09 17:28:22 UTC 2023
    - 18.2K bytes
    - Viewed (0)
Back to top