Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 552 for reassignment (0.21 sec)

  1. ChangeLog.md

    - [`KT-28759`](https://youtrack.jetbrains.com/issue/KT-28759) No not-null smartcast from direct assignment if it's split into declaration and value assignment
    - [`KT-28760`](https://youtrack.jetbrains.com/issue/KT-28760) No not-null smartcast from direct assignment of `this`
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Mon May 27 17:14:23 UTC 2024
    - 292.1K bytes
    - Viewed (0)
  2. test/convert2.go

    	s = S(t)
    	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)
  3. clause/set.go

    package clause
    
    import "sort"
    
    type Set []Assignment
    
    type Assignment struct {
    	Column Column
    	Value  interface{}
    }
    
    func (set Set) Name() string {
    	return "SET"
    }
    
    func (set Set) Build(builder Builder) {
    	if len(set) > 0 {
    		for idx, assignment := range set {
    			if idx > 0 {
    				builder.WriteByte(',')
    			}
    			builder.WriteQuoted(assignment.Column)
    			builder.WriteByte('=')
    Registered: Wed Jun 12 16:27:09 UTC 2024
    - Last Modified: Mon Nov 29 03:02:44 UTC 2021
    - 1.4K bytes
    - Viewed (0)
  4. 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)
  5. 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)
  6. src/internal/types/testdata/check/conversions1.go

    	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 // ERRORx `cannot use .* in assignment`
    	s = u // ERRORx `cannot use .* in assignment`
    	s = S(s)
    	s = S(t)
    	s = S(u)
    	t = u // ERRORx `cannot use .* in assignment`
    	t = T(u)
    }
    
    func _() {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jan 17 19:54:27 UTC 2023
    - 5.1K bytes
    - Viewed (0)
  7. 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)
  8. 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)
  9. 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)
  10. 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)
Back to top