Search Options

Results per page
Sort
Preferred Languages
Advance

Results 81 - 90 of 252 for assignments (0.19 sec)

  1. analysis/analysis-api/testData/components/expressionInfoProvider/readWriteAccess/assignment.kt

    Anna Kozlova <******@****.***> 1709677574 +0100
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Fri Mar 08 22:12:25 UTC 2024
    - 72 bytes
    - Viewed (0)
  2. analysis/analysis-api/testData/components/expressionInfoProvider/readWriteAccess/assignment.txt

    Anna Kozlova <******@****.***> 1709677574 +0100
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Fri Mar 08 22:12:25 UTC 2024
    - 40 bytes
    - Viewed (0)
  3. platforms/core-configuration/declarative-dsl-core/src/main/kotlin/org/gradle/internal/declarativedsl/analysis/ResolutionTracer.kt

            }
            return result
        }
    
        override fun doResolveAssignment(context: AnalysisContext, assignment: Assignment): AssignmentRecord? {
            val result = statementResolver.doResolveAssignment(context, assignment)
            if (result != null) {
                assignmentResolutions[assignment] = result
            }
            return result
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Feb 02 12:28:39 UTC 2024
    - 4.1K bytes
    - Viewed (0)
  4. test/fixedbugs/issue48558.go

    package p
    
    func _(a, b, c int) {
    	_ = a
    	_ = a, b    // ERROR "assignment mismatch: 1 variable but 2 values"
    	_ = a, b, c // ERROR "assignment mismatch: 1 variable but 3 values"
    
    	_, _ = a // ERROR "assignment mismatch: 2 variables but 1 value"
    	_, _ = a, b
    	_, _ = a, b, c // ERROR "assignment mismatch: 2 variables but 3 values"
    
    	_, _, _ = a    // ERROR "assignment mismatch: 3 variables but 1 value"
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Mar 28 18:13:13 UTC 2023
    - 3K bytes
    - Viewed (0)
  5. platforms/core-configuration/declarative-dsl-core/src/main/kotlin/org/gradle/internal/declarativedsl/analysis/StatementResolver.kt

        fun AnalysisContext.doAnalyzeAssignment(assignment: Assignment): AssignmentRecord? {
            val lhsResolution = propertyAccessResolver.doResolvePropertyAccessToAssignable(this, assignment.lhs)
    
            return if (lhsResolution == null) {
                errorCollector.collect(ResolutionError(assignment.lhs, ErrorReason.UnresolvedReference(assignment.lhs)))
                errorCollector.collect(ResolutionError(assignment, ErrorReason.UnresolvedAssignmentLhs))
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue May 14 10:08:02 UTC 2024
    - 6.4K bytes
    - Viewed (0)
  6. test/fixedbugs/bug285.go

    	m1[i0] = 42
    	m1[i1] = 42
    	m1[new(struct {
    		x int
    	})] = 42       // this should work: *struct{x int} is assignment-compatible with I1
    	m1[false] = 42 // this should work: false is assignment-compatible with I1
    	m1[17] = 42    // this should work: 17 is assignment-compatible with I1
    	m1["foo"] = 42 // this should work: "foo" is assignment-compatible with I1
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 02 13:43:18 UTC 2016
    - 2.9K bytes
    - Viewed (0)
  7. test/fixedbugs/issue30087.go

    func main() {
    	var a, b = 1    // ERROR "assignment mismatch: 2 variables but 1 value|wrong number of initializations|cannot initialize"
    	_ = 1, 2        // ERROR "assignment mismatch: 1 variable but 2 values|number of variables does not match|cannot assign"
    	c, d := 1       // ERROR "assignment mismatch: 2 variables but 1 value|wrong number of initializations|cannot initialize"
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Apr 19 14:07:00 UTC 2023
    - 734 bytes
    - Viewed (0)
  8. analysis/analysis-api-fe10/src/org/jetbrains/kotlin/analysis/api/descriptors/references/ReadWriteAccessCheckerDescriptorsImpl.kt

                allowAnalysisFromWriteAction {
                    val resolvedCall = analyze(assignment) {
                        with((this as KaFe10Session).analysisContext.analyze(assignment, Fe10AnalysisFacade.AnalysisMode.PARTIAL)) {
                            assignment.getCall(this)?.getResolvedCall(this) ?: return ReferenceAccess.READ_WRITE to assignment
                        }
                    }
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Mon May 27 17:22:24 UTC 2024
    - 2.4K bytes
    - Viewed (0)
  9. src/cmd/vet/testdata/assign/assign.go

    // This file contains tests for the useless-assignment checker.
    
    package assign
    
    import "math/rand"
    
    type ST struct {
    	x int
    	l []int
    }
    
    func (s *ST) SetX(x int, ch chan int) {
    	// Accidental self-assignment; it should be "s.x = x"
    	x = x // ERROR "self-assignment of x to x"
    	// Another mistake
    	s.x = s.x // ERROR "self-assignment of s.x to s.x"
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Feb 20 15:46:42 UTC 2019
    - 804 bytes
    - Viewed (0)
  10. test/fixedbugs/issue26616.go

    package p
    
    var x int = three() // ERROR "assignment mismatch: 1 variable but three returns 3 values|multiple-value function call in single-value context|multiple-value "
    
    func f() {
    	var _ int = three() // ERROR "assignment mismatch: 1 variable but three returns 3 values|multiple-value function call in single-value context|multiple-value "
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Sep 23 19:41:41 UTC 2021
    - 1.1K bytes
    - Viewed (0)
Back to top