Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for exprOrType (0.14 sec)

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

    			// where we combine type and value arguments for type
    			// inference.
    			assert(x.mode == value)
    			inst = iexpr
    		}
    		x.expr = iexpr
    		check.record(x)
    	} else {
    		check.exprOrType(x, call.Fun, true)
    	}
    	// x.typ may be generic
    
    	switch x.mode {
    	case invalid:
    		check.use(call.ArgList...)
    		x.expr = call
    		return statement
    
    	case typexpr:
    		// conversion
    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

    			// where we combine type and value arguments for type
    			// inference.
    			assert(x.mode == value)
    		} else {
    			ix = nil
    		}
    		x.expr = call.Fun
    		check.record(x)
    	} else {
    		check.exprOrType(x, call.Fun, true)
    	}
    	// x.typ may be generic
    
    	switch x.mode {
    	case invalid:
    		check.use(call.Args...)
    		x.expr = call
    		return statement
    
    	case typexpr:
    		// conversion
    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