Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 749 for mismatched (0.2 sec)

  1. pkg/config/analysis/analyzers/testdata/injection-with-mismatched-sidecar.yaml

    Xiaopeng Han <******@****.***> 1689226266 +0800
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jul 13 05:31:06 UTC 2023
    - 5.4K bytes
    - Viewed (0)
  2. test/fixedbugs/issue46749.go

    var iface interface{}
    
    var (
    	_ = "" + b   // ERROR "invalid operation.*mismatched types.*untyped string and bool"
    	_ = "" + i   // ERROR "invalid operation.*mismatched types.*untyped string and int"
    	_ = "" + nil // ERROR "invalid operation.*mismatched types.*untyped string and nil|(untyped nil)"
    )
    
    var (
    	_ = s + false // ERROR "invalid operation.*mismatched types.*string and untyped bool"
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Jun 17 02:30:22 UTC 2021
    - 1.4K bytes
    - Viewed (0)
  3. test/fixedbugs/issue9370.go

    	_ = i == n // ERROR "invalid operation.*mismatched types|incompatible types"
    	_ = i != n // ERROR "invalid operation.*mismatched types|incompatible types"
    	_ = i >= n // ERROR "invalid operation.*mismatched types|incompatible types"
    	_ = n == i // ERROR "invalid operation.*mismatched types|incompatible types"
    	_ = n != i // ERROR "invalid operation.*mismatched types|incompatible types"
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Dec 22 17:50:13 UTC 2020
    - 5K bytes
    - Viewed (0)
  4. src/internal/types/testdata/check/expr1.go

    	x = x % y
    	x = x << y
    	x = x >> y
    
    	z = z + 1
    	z = z + 1.0
    	z = z + 1.1 // ERROR "truncated to int"
    	z = z /* ERROR "mismatched types" */ + y
    	z = z /* ERROR "mismatched types" */ - y
    	z = z /* ERROR "mismatched types" */ * y
    	z = z /* ERROR "mismatched types" */ / y
    	z = z /* ERROR "mismatched types" */ % y
    	z = z << y
    	z = z >> y
    }
    
    type myuint uint
    
    func _(x, y uint, z myuint) {
    	x = x + 1
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jan 17 19:54:27 UTC 2023
    - 2.7K bytes
    - Viewed (0)
  5. src/internal/types/testdata/check/expr2.go

    		c1r C1r
    		c1s C1s
    		c1a chan int
    		c2 C2
    	)
    	_ = c1 == c1
    	_ = c1 == c1r /* ERROR "mismatched types" */
    	_ = c1 == c1s /* ERROR "mismatched types" */
    	_ = c1r == c1s /* ERROR "mismatched types" */
    	_ = c1 == c1a
    	_ = c1a == c1
    	_ = c1 == c2 /* ERROR "mismatched types" */
    	_ = c1a == c2 /* ERROR "mismatched types" */
    
    	// various element types (unnamed types)
    	var (
    		d1 chan int
    		d1r <-chan int
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jan 17 19:54:27 UTC 2023
    - 5K bytes
    - Viewed (0)
  6. test/const6.go

    	c6 mybool1 = x < y
    	c7 = c1 == c2 // ERROR "mismatched types|incompatible types"
    	c8 = c2 == c6 // ERROR "mismatched types|incompatible types"
    	c9 = c1 == c6 // ERROR "mismatched types|incompatible types"
    	_ = c2 && (x < y)
    	_ = c2 && (1 < 2)
    	_ = c1 && c2 // ERROR "mismatched types|incompatible types"
    	_ = c2 && c6 // ERROR "mismatched types|incompatible types"
    	_ = c1 && c6 // ERROR "mismatched types|incompatible types"
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 02 13:43:18 UTC 2016
    - 834 bytes
    - Viewed (0)
  7. test/fixedbugs/issue13821b.go

    var x2 = 1 < 2 && b // x2 has type B, not ideal bool
    var x3 = b && b2    // ERROR "mismatched types B and B2|incompatible types"
    var x4 = x1 && b2   // ERROR "mismatched types B and B2|incompatible types"
    var x5 = x2 && b2   // ERROR "mismatched types B and B2|incompatible types"
    var x6 = b2 && x1   // ERROR "mismatched types B2 and B|incompatible types"
    var x7 = b2 && x2   // ERROR "mismatched types B2 and B|incompatible types"
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Dec 10 18:34:40 UTC 2020
    - 841 bytes
    - Viewed (0)
  8. test/fixedbugs/issue48784.go

    var (
    	_ = s == nil // ERROR "invalid operation:.*mismatched types string and (untyped )?nil"
    	_ = b == nil // ERROR "invalid operation:.*mismatched types bool and (untyped )?nil"
    	_ = i == nil // ERROR "invalid operation:.*mismatched types int and (untyped )?nil"
    	_ = t == nil // ERROR "invalid operation:.*mismatched types T and (untyped )?nil"
    	_ = a == nil // ERROR "invalid operation:.*mismatched types \[1\]int and (untyped )?nil"
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 07 18:58:33 UTC 2021
    - 702 bytes
    - Viewed (0)
  9. test/fixedbugs/issue41500.go

    	_ = len(x.slice) || x == nil // ERROR "invalid operation: .+ \(operator \|\| not defined on int\)|incompatible types|mismatched types int and untyped bool"
    	_ = x == nil && len(x.slice) // ERROR "invalid operation: .+ \(operator && not defined on int\)|incompatible types|mismatched types untyped bool and int"
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Jun 17 02:30:22 UTC 2021
    - 867 bytes
    - Viewed (0)
  10. src/internal/types/testdata/spec/comparisons.go

    	_ = m /* ERROR "incomparable types in type set" */ == m
    	_ = c == c
    
    	_ = b == nil /* ERROR "mismatched types" */
    	_ = a == nil /* ERROR "mismatched types" */
    	_ = l == nil
    	_ = s == nil /* ERROR "mismatched types" */
    	_ = p == nil
    	_ = f == nil
    	_ = i == nil /* ERROR "mismatched types" */
    	_ = j == nil /* ERROR "mismatched types" */
    	_ = m == nil
    	_ = c == nil
    
    	_ = b < b
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jan 17 19:54:27 UTC 2023
    - 3K bytes
    - Viewed (0)
Back to top