Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 7 of 7 for tooManyValues (0.15 sec)

  1. src/cmd/vendor/golang.org/x/tools/internal/typesinternal/errorcode_string.go

    	_ = x[DuplicateMethod-34]
    	_ = x[InvalidBlank-35]
    	_ = x[InvalidIota-36]
    	_ = x[MissingInitBody-37]
    	_ = x[InvalidInitSig-38]
    	_ = x[InvalidInitDecl-39]
    	_ = x[InvalidMainDecl-40]
    	_ = x[TooManyValues-41]
    	_ = x[NotAnExpr-42]
    	_ = x[TruncatedFloat-43]
    	_ = x[NumericOverflow-44]
    	_ = x[UndefinedOp-45]
    	_ = x[MismatchedTypes-46]
    	_ = x[DivByZero-47]
    	_ = x[NonNumericIncDec-48]
    	_ = x[UnaddressableOperand-49]
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 02 02:20:05 UTC 2024
    - 7.5K bytes
    - Viewed (0)
  2. src/internal/types/errors/code_string.go

    	_ = x[DuplicateMethod-34]
    	_ = x[InvalidBlank-35]
    	_ = x[InvalidIota-36]
    	_ = x[MissingInitBody-37]
    	_ = x[InvalidInitSig-38]
    	_ = x[InvalidInitDecl-39]
    	_ = x[InvalidMainDecl-40]
    	_ = x[TooManyValues-41]
    	_ = x[NotAnExpr-42]
    	_ = x[TruncatedFloat-43]
    	_ = x[NumericOverflow-44]
    	_ = x[UndefinedOp-45]
    	_ = x[MismatchedTypes-46]
    	_ = x[DivByZero-47]
    	_ = x[NonNumericIncDec-48]
    	_ = x[UnaddressableOperand-49]
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Apr 03 22:50:48 UTC 2024
    - 7.9K bytes
    - Viewed (0)
  3. src/internal/types/errors/codes.go

    	// function, in a main package.
    	InvalidMainDecl
    
    	// TooManyValues occurs when a function returns too many values for the
    	// expression context in which it is used.
    	//
    	// Example:
    	//  func ReturnTwo() (int, int) {
    	//  	return 1, 2
    	//  }
    	//
    	//  var x = ReturnTwo()
    	TooManyValues
    
    	// NotAnExpr occurs when a type expression is used where a value expression
    	// is expected.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Apr 03 22:50:48 UTC 2024
    - 33.7K bytes
    - Viewed (0)
  4. src/cmd/vendor/golang.org/x/tools/internal/typesinternal/errorcode.go

    	// function, in a main package.
    	InvalidMainDecl
    
    	/* exprs */
    
    	// TooManyValues occurs when a function returns too many values for the
    	// expression context in which it is used.
    	//
    	// Example:
    	//  func ReturnTwo() (int, int) {
    	//  	return 1, 2
    	//  }
    	//
    	//  var x = ReturnTwo()
    	TooManyValues
    
    	// NotAnExpr occurs when a type expression is used where a value expression
    	// is expected.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 03 02:38:00 UTC 2024
    - 34K bytes
    - Viewed (0)
  5. pkg/apis/batch/validation/validation_test.go

    								Operator: batch.PodFailurePolicyOnExitCodesOpIn,
    								Values: func() (values []int32) {
    									tooManyValues := make([]int32, maxPodFailurePolicyOnExitCodesValues+1)
    									for i := range tooManyValues {
    										tooManyValues[i] = int32(i)
    									}
    									return tooManyValues
    								}(),
    							},
    						}},
    					},
    				},
    			},
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Mar 07 20:49:09 UTC 2024
    - 124.3K bytes
    - Viewed (0)
  6. src/cmd/compile/internal/types2/expr.go

    		var code Code
    		switch x.mode {
    		case novalue:
    			if modeset&(1<<typexpr) != 0 {
    				msg = "%s used as value"
    			} else {
    				msg = "%s used as value or type"
    			}
    			code = TooManyValues
    		case builtin:
    			msg = "%s must be called"
    			code = UncalledBuiltin
    		case typexpr:
    			msg = "%s is not an expression"
    			code = NotAnExpr
    		default:
    			panic("unreachable")
    		}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 02:09:54 UTC 2024
    - 51.7K bytes
    - Viewed (0)
  7. src/go/types/expr.go

    		var code Code
    		switch x.mode {
    		case novalue:
    			if modeset&(1<<typexpr) != 0 {
    				msg = "%s used as value"
    			} else {
    				msg = "%s used as value or type"
    			}
    			code = TooManyValues
    		case builtin:
    			msg = "%s must be called"
    			code = UncalledBuiltin
    		case typexpr:
    			msg = "%s is not an expression"
    			code = NotAnExpr
    		default:
    			panic("unreachable")
    		}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 02:09:54 UTC 2024
    - 49.7K bytes
    - Viewed (0)
Back to top