Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 97 for unambiguous (0.35 sec)

  1. platforms/software/dependency-management/src/integTest/groovy/org/gradle/integtests/internal/component/ResolutionFailureHandlerIntegrationTest.groovy

        }
    
        def "demonstrate ambiguous graph variant without single disambiguating value selection failure for project"() {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue May 28 15:55:38 UTC 2024
    - 45K bytes
    - Viewed (0)
  2. platforms/software/dependency-management/src/test/groovy/org/gradle/api/internal/artifacts/transform/AttributeMatchingArtifactVariantSelectorSpec.groovy

            1 * attributeMatcher.matches(_, _, _) >> [variant]
            1 * variant.getArtifacts() >> resolvedArtifactSet
            0 * consumerProvidedVariantFinder._
        }
    
        def 'multiple match on variant results in ambiguous exception'() {
            given:
            def variantSet = variantSetOf([variant, otherVariant])
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Feb 28 13:08:22 UTC 2024
    - 8.3K bytes
    - Viewed (0)
  3. subprojects/core/src/main/java/org/gradle/util/internal/NameMatcher.java

        }
    
        public void configureProblemId(ProblemSpec spec) {
            if (!getMatches().isEmpty()) {
                spec.id("ambiguous-matches", "Ambiguous matches", GradleCoreProblemGroup.taskSelection());
            } else if (!getCandidates().isEmpty()) {
                spec.id("no-matches", "No matches", GradleCoreProblemGroup.taskSelection());
            } else {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed May 08 10:15:47 UTC 2024
    - 8.5K bytes
    - Viewed (0)
  4. platforms/core-configuration/declarative-dsl-evaluator/src/main/kotlin/org/gradle/internal/declarativedsl/evaluator/EvaluationFailureMessageGenerator.kt

            is ErrorReason.AmbiguousFunctions ->
                "ambiguous functions: " +
                    errorReason.functions.joinToString(",") { resolution ->
                        resolution.schemaFunction.simpleName + "(" + resolution.binding.binding.keys.joinToString { it.name.plus(": ") + it.type } + ")"
                    }
    
            is ErrorReason.AmbiguousImport -> "ambiguous import '${errorReason.fqName}'"
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu May 30 12:25:47 UTC 2024
    - 8.3K bytes
    - Viewed (0)
  5. subprojects/composite-builds/src/integTest/groovy/org/gradle/integtests/composite/CompositeBuildDependencyGraphIntegrationTest.groovy

                    configuration = "runtimeElements"
                    compositeSubstitute()
                }
            }
        }
    
        def "reports failure to resolve dependencies when substitution is ambiguous"() {
            given:
            def buildC = multiProjectBuild("buildC", ['a1', 'b1']) {
                buildFile << """
                    allprojects {
                        apply plugin: 'java'
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu May 09 19:37:49 UTC 2024
    - 25.7K bytes
    - Viewed (0)
  6. Jenkinsfile

        echo "[FAILURE-002] FlowInterruptedException ${e}"
        // this ambiguous condition means a user probably aborted
        if (e.causes.size() == 0) {
            currentBuild.result = "ABORTED"
        } else {
            currentBuild.result = "FAILURE"
        }
        throw e
    } catch (hudson.AbortException e) {
        echo "[FAILURE-003] AbortException ${e}"
        // this ambiguous condition means during a shell step, user probably aborted
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Sun Mar 03 21:28:30 UTC 2024
    - 8.4K bytes
    - Viewed (0)
  7. Jenkinsfile.s390x

        echo "[FAILURE-002] FlowInterruptedException ${e}"
        // this ambiguous condition means a user probably aborted
        if (e.causes.size() == 0) {
            currentBuild.result = "ABORTED"
        } else {
            currentBuild.result = "FAILURE"
        }
        throw e
    } catch (hudson.AbortException e) {
        echo "[FAILURE-003] AbortException ${e}"
        // this ambiguous condition means during a shell step, user probably aborted
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Sun Mar 03 21:28:30 UTC 2024
    - 7.7K bytes
    - Viewed (0)
  8. platforms/jvm/plugins-java-library/src/integTest/groovy/org/gradle/java/JavaLibraryConsumptionIntegrationTest.groovy

        }
    
        @Issue("https://github.com/gradle/gradle/issues/11995")
        def "provides a human understable error message when some variants were discarded and the remainder is ambiguous"() {
            buildFile << """
                apply plugin: 'java-base'
    
                configurations {
                    consumer {
                        assert canBeResolved
                        canBeConsumed = false
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue May 28 16:14:19 UTC 2024
    - 4K bytes
    - Viewed (0)
  9. platforms/software/dependency-management/src/test/groovy/org/gradle/internal/component/model/LocalComponentDependencyMetadataTest.groovy

                if (expected == null && result) {
                    throw new Exception("Expected an ambiguous result, but got $result")
                }
                assert result == [expected] as Set
            } catch (VariantSelectionException e) {
                if (expected == null) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue May 28 15:10:53 UTC 2024
    - 25.3K bytes
    - Viewed (0)
  10. analysis/analysis-api/src/org/jetbrains/kotlin/analysis/api/resolution/KaCandidateInfo.kt

        /**
         * Returns true if the [candidate] is in the final set of candidates that the call is actually resolved to. There can be multiple
         * candidates if the call is ambiguous.
         */
        public val isInBestCandidates: Boolean by validityAsserted(isInBestCandidates)
    }
    
    public typealias KtCallCandidateInfo = KaCallCandidateInfo
    
    /**
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Wed Jun 05 16:16:39 UTC 2024
    - 2.5K bytes
    - Viewed (0)
Back to top