Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 12 of 12 for recordTypeAndValue (0.17 sec)

  1. src/go/types/call.go

    	sig = check.arguments(call, sig, targs, xlist, args, atargs, atxlist)
    
    	if wasGeneric && sig.TypeParams().Len() == 0 {
    		// Update the recorded type of call.Fun to its instantiated type.
    		check.recordTypeAndValue(call.Fun, value, sig, nil)
    	}
    
    	// determine result
    	switch sig.results.Len() {
    	case 0:
    		x.mode = novalue
    	case 1:
    		if cgocall {
    			x.mode = commaerr
    		} else {
    			x.mode = value
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 19:19:55 UTC 2024
    - 33.5K bytes
    - Viewed (0)
  2. src/cmd/compile/internal/types2/call.go

    	sig = check.arguments(call, sig, targs, xlist, args, atargs, atxlist)
    
    	if wasGeneric && sig.TypeParams().Len() == 0 {
    		// update the recorded type of call.Fun to its instantiated type
    		check.recordTypeAndValue(call.Fun, value, sig, nil)
    	}
    
    	// determine result
    	switch sig.results.Len() {
    	case 0:
    		x.mode = novalue
    	case 1:
    		if cgocall {
    			x.mode = commaerr
    		} else {
    			x.mode = value
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 19:19:55 UTC 2024
    - 31.5K bytes
    - Viewed (0)
Back to top