Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 932 for incomparable (0.24 sec)

  1. test/convert2.go

    	s = S(u)
    	t = u // ERROR "cannot use .* in assignment|incompatible type"
    	t = T(u)
    }
    
    func _() {
    	type E struct{ x int }
    	type S struct{ x E }
    	type T struct {
    		x E "foo"
    	}
    	var s S
    	var t T
    	var u struct {
    		x E "bar"
    	}
    	s = s
    	s = t // ERROR "cannot use .* in assignment|incompatible type"
    	s = u // ERROR "cannot use .* in assignment|incompatible type"
    	s = S(s)
    	s = S(t)
    	s = S(u)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Sep 08 15:55:44 UTC 2022
    - 5.9K bytes
    - Viewed (0)
  2. test/assign1.go

    	pi1 = pi  // ERROR "cannot use|incompatible"
    
    	pm0 = pm  // ERROR "cannot use|incompatible"
    	pm0 = pm1 // ERROR "cannot use|incompatible"
    	pm = pm0  // ERROR "cannot use|incompatible"
    	pm = pm1  // ERROR "cannot use|incompatible"
    	pm1 = pm0 // ERROR "cannot use|incompatible"
    	pm1 = pm  // ERROR "cannot use|incompatible"
    
    	pp0 = pp  // ERROR "cannot use|incompatible"
    	pp0 = pp1 // ERROR "cannot use|incompatible"
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sun Feb 19 02:19:43 UTC 2012
    - 5.6K bytes
    - Viewed (0)
  3. test/fixedbugs/bug248.dir/bug2.go

    	v1 = p1.T(v0)
    
    	i0 = i1   // ERROR "cannot use|incompatible"
    	i1 = i0   // ERROR "cannot use|incompatible"
    	p0i = i1  // ERROR "cannot use|incompatible"
    	p1i = i0  // ERROR "cannot use|incompatible"
    	i0 = p1i  // ERROR "cannot use|incompatible"
    	i1 = p0i  // ERROR "cannot use|incompatible"
    	p0i = p1i // ERROR "cannot use|incompatible"
    	p1i = p0i // ERROR "cannot use|incompatible"
    
    	i0 = p0i
    	p0i = i0
    
    	i1 = p1i
    	p1i = i1
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 19 06:26:35 UTC 2021
    - 1.5K bytes
    - Viewed (0)
  4. src/cmd/go/testdata/script/mod_retract_incompatible.txt

    # retractions. If the current version is +incompatible, we should not prefer
    # +incompatible versions when looking for retractions.
    # Verifies #42601.
    
    go mod init m
    
    # Request a +incompatible version retracted in v1.0.0.
    go get example.com/retract/incompatible@v2.0.0+incompatible
    stderr '^go: warning: example.com/retract/incompatible@v2.0.0\+incompatible: retracted by module author$'
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Sep 28 17:19:14 UTC 2021
    - 716 bytes
    - Viewed (0)
  5. platforms/software/dependency-management/src/test/groovy/org/gradle/api/internal/artifacts/transform/ConsumerProvidedVariantFinderTest.groovy

            def compatible = AttributeTestUtil.attributes(usage: "compatible")
            def incompatible = AttributeTestUtil.attributes(usage: "incompatible")
    
            def transform1 = registration(fromSource, incompatible)
            def transform2 = registration(fromSource, compatible)
            def transform3 = registration(compatible, incompatible)
    
            def sourceVariant = variant([usage: "source"])
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 10 21:10:11 UTC 2023
    - 22.7K bytes
    - Viewed (0)
  6. 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)
  7. src/cmd/go/testdata/script/mod_import_issue41113.txt

    # Initially, our module depends on split-incompatible v2.1.0-pre+incompatible,
    # from which an imported package has been removed (and relocated to the nested
    # split-incompatible/subpkg module). modload.QueryPattern will suggest
    # split-incompatible v2.0.0+incompatible, which we cannot use (because it would
    # be an implicit downgrade), and split-incompatible/subpkg v0.1.0, which we
    # *should* use.
    
    go mod tidy
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Sep 22 20:45:27 UTC 2020
    - 932 bytes
    - Viewed (0)
  8. src/cmd/go/testdata/script/mod_graph_version.txt

    // Module lazy requires example.com/retract/incompatible v1.0.0.
    //
    // When viewed from the outside it also has a transitive dependency
    // on v2.0.0+incompatible, but in lazy mode that transitive dependency
    // is pruned out.
    module example.net/lazy
    
    go 1.17
    
    exclude example.com/retract/incompatible v2.0.0+incompatible
    
    require (
    	example.com/retract/incompatible v1.0.0
    	example.net/requireincompatible v0.1.0
    )
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Nov 10 21:10:42 UTC 2022
    - 3.3K bytes
    - Viewed (0)
  9. src/cmd/go/testdata/mod/example.com_retract_incompatible_v1.0.0.txt

    The v1.0.0 release of example.com/retract/incompatible retracts
    v2.0.0+incompatible.
    
    -- .mod --
    module example.com/retract/incompatible
    
    go 1.16
    
    retract v2.0.0+incompatible
    -- .info --
    {"Version":"v1.0.0"}
    -- go.mod --
    module example.com/retract/incompatible
    
    go 1.16
    
    retract v2.0.0+incompatible
    -- incompatible.go --
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Nov 20 16:23:19 UTC 2020
    - 342 bytes
    - Viewed (0)
  10. src/cmd/go/testdata/script/mod_tidy_compat_incompatible.txt

    stdout '^example.com/retract/incompatible v2\.0\.0\+incompatible$'
    ! stdout 'v1\.0\.0'
    
    go mod tidy -go=1.17
    go list -f $MODFMT -deps ./...
    stdout '^example.com/retract/incompatible v2\.0\.0\+incompatible$'
    ! stdout 'v1\.0\.0'
    
    go mod edit -go=1.16
    go list -f $MODFMT -deps ./...
    stdout '^example.com/retract/incompatible v2\.0\.0\+incompatible$'
    ! stdout 'v1\.0\.0'
    
    
    -- go.mod --
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 14:56:56 UTC 2024
    - 5.5K bytes
    - Viewed (0)
Back to top