Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 204 for unambiguous (0.17 sec)

  1. testing/integ-test/src/integTest/groovy/org/gradle/integtests/TaskErrorExecutionIntegrationTest.groovy

            failure.assertHasResolutions(
                GET_TASKS,
                NAME_EXPANSION,
                INFO_DEBUG,
                SCAN,
                GET_HELP
            )
        }
    
        def "reports ambiguous task"() {
            enableProblemsApiCheck()
            createDirs("a", "b")
            settingsFile << """
                rootProject.name = 'test'
                include 'a', 'b'
            """
            buildFile << """
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue May 28 09:03:53 UTC 2024
    - 12.5K bytes
    - Viewed (0)
  2. src/cmd/go/testdata/script/mod_get_ambiguous_import.txt

    cp go.mod go.mod.orig
    
    # Upgrading example.net/m/p without also upgrading example.net/m
    # causes the import of package example.net/m/p to be ambiguous.
    #
    # TODO(#27899): Should we automatically upgrade example.net/m to v0.2.0
    # to resolve the conflict?
    ! go get example.net/m/p@v1.0.0
    stderr '^go: example.net/m/p: ambiguous import: found package example.net/m/p in multiple modules:\n\texample.net/m v0.1.0 \(.*[/\\]m1[/\\]p\)\n\texample.net/m/p v1.0.0 \(.*[/\\]p0\)\n\z'
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sat Jun 03 21:13:11 UTC 2023
    - 1.4K bytes
    - Viewed (0)
  3. src/internal/types/testdata/check/decls4.go

    	_ = eB2{}.xf
    	_ = eB2{}.xm
    	_ = eC{}.xf
    	_ = eC{}.xm
    )
    
    // ambiguous selectors due to embedding via type aliases
    type eD struct {
    	eY
    	eZ
    }
    
    var (
    	_ = eD{}.xf /* ERROR "ambiguous selector eD{}.xf" */
    	_ = eD{}.xm /* ERROR "ambiguous selector eD{}.xm" */
    )
    
    var (
    	_ interface{ xm() } = eD /* ERROR "ambiguous selector eD.xm" */ {}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Nov 09 17:24:42 UTC 2023
    - 3.2K bytes
    - Viewed (0)
  4. src/go/doc/example_test.go

    func ExampleConflict_Conflict()        {} // ambiguous with either Conflict or Conflict_Conflict type
    func ExampleConflict_conflict()        {} // ambiguous with either Conflict or Conflict_conflict type
    func ExampleConflict_Conflict_suffix() {} // ambiguous with either Conflict or Conflict_Conflict type
    func ExampleConflict_conflict_suffix() {} // ambiguous with either Conflict or Conflict_conflict type
    
    func ExampleGFunc() {}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 10 16:17:51 UTC 2022
    - 9.6K bytes
    - Viewed (0)
  5. doc/next/4-runtime.md

    The traceback printed by the runtime after an unhandled panic or other
    fatal error now indents the second and subsequent lines of the error
    message (for example, the argument to panic) by a single tab, so that
    it can be unambiguously distinguished from the stack trace of the
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 08 19:10:41 UTC 2024
    - 359 bytes
    - Viewed (0)
  6. platforms/core-configuration/model-core/src/main/java/org/gradle/model/internal/report/AmbiguousBindingReporter.java

            writeTo(new PrintWriter(string));
            return string.toString();
        }
    
        public void writeTo(PrintWriter writer) {
            //"type-only model reference of type '%s'%s is ambiguous as multiple model elements are available for this type:%n  %s (created by %s)%n  %s (created by %s)",
            writer.print("Type-only model reference of type ");
            writer.print(referenceType);
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 09:51:04 UTC 2023
    - 3.8K bytes
    - Viewed (0)
  7. staging/src/k8s.io/apimachinery/pkg/api/meta/restmapper_test.go

    			ExpectedKinds: []schema.GroupVersionKind{
    				{Group: "first-group", Version: "first-version", Kind: "my-kind"},
    			},
    		},
    
    		{
    			// group prefixes can be ambiguous
    			Name: "groups, with ambiguous group prefix",
    			PreferredOrder: []schema.GroupVersion{
    				{Group: "first-group-1", Version: "first-version"},
    				{Group: "first-group", Version: "first-version"},
    			},
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sun Nov 01 08:38:57 UTC 2020
    - 28.9K bytes
    - Viewed (0)
  8. src/cmd/go/testdata/script/mod_ambiguous_import.txt

    env GO111MODULE=on
    
    cd $WORK
    
    # An import provided by two different modules should be flagged as an error.
    ! go build ./importx
    stderr '^importx[/\\]importx.go:2:8: ambiguous import: found package example.com/a/x in multiple modules:\n\texample.com/a v0.1.0 \('$WORK'[/\\]a[/\\]x\)\n\texample.com/a/x v0.1.0 \('$WORK'[/\\]ax\)$'
    
    # However, it should not be an error if that import is unused.
    go build ./importy
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Feb 28 19:09:53 UTC 2020
    - 1.4K bytes
    - Viewed (0)
  9. test/fixedbugs/bug253.go

    type S1 struct {
    	i int
    }
    type S2 struct {
    	i int
    }
    type S3 struct {
    	S1
    	S2
    }
    type S4 struct {
    	S3
    	S1
    }
    
    func main() {
    	var s4 S4
    	if s4.i != 0 { // .i refers to s4.S1.i, unambiguously
    		panic("fail")
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 02 13:43:18 UTC 2016
    - 390 bytes
    - Viewed (0)
  10. src/cmd/go/testdata/mod/example.com_retract_ambiguous_v1.0.0.txt

    -- .mod --
    module example.com/retract/ambiguous
    
    go 1.16
    -- .info --
    {"Version":"v1.0.0"}
    -- nested/nested.go --
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Nov 18 15:31:11 UTC 2020
    - 129 bytes
    - Viewed (0)
Back to top