Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for wasGeneric (0.09 sec)

  1. src/cmd/compile/internal/types2/call.go

    	if sig == nil {
    		check.errorf(x, InvalidCall, invalidOp+"cannot call non-function %s", x)
    		x.mode = invalid
    		x.expr = call
    		return statement
    	}
    
    	// Capture wasGeneric before sig is potentially instantiated below.
    	wasGeneric := sig.TypeParams().Len() > 0
    
    	// evaluate type arguments, if any
    	var xlist []syntax.Expr
    	var targs []Type
    	if inst != nil {
    		xlist = syntax.UnpackListExpr(inst.Index)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 19:19:55 UTC 2024
    - 31.5K bytes
    - Viewed (0)
  2. src/go/types/call.go

    	if sig == nil {
    		check.errorf(x, InvalidCall, invalidOp+"cannot call non-function %s", x)
    		x.mode = invalid
    		x.expr = call
    		return statement
    	}
    
    	// Capture wasGeneric before sig is potentially instantiated below.
    	wasGeneric := sig.TypeParams().Len() > 0
    
    	// evaluate type arguments, if any
    	var xlist []ast.Expr
    	var targs []Type
    	if ix != nil {
    		xlist = ix.Indices
    		targs = check.typeList(xlist)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 19:19:55 UTC 2024
    - 33.5K bytes
    - Viewed (0)
Back to top