- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 252 for assignment1 (0.19 sec)
-
src/go/types/assignments.go
// if necessary by attempting to convert untyped values to the appropriate // type. context describes the context in which the assignment takes place. // Use T == nil to indicate assignment to an untyped blank identifier. // If the assignment check fails, x.mode is set to invalid. func (check *Checker) assignment(x *operand, T Type, context string) { check.singleValue(x) switch x.mode { case invalid: return // error reported before
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Apr 03 18:48:38 UTC 2024 - 16.4K bytes - Viewed (0) -
src/internal/types/testdata/check/stmt0.go
} func assignments1() { b, i, f, c, s := false, 1, 1.0, 1i, "foo" b = i /* ERRORx `cannot use .* in assignment` */ i = f /* ERRORx `cannot use .* in assignment` */ f = c /* ERRORx `cannot use .* in assignment` */ c = s /* ERRORx `cannot use .* in assignment` */ s = b /* ERRORx `cannot use .* in assignment` */ v0, v1, v2 := 1 /* ERROR "assignment mismatch" */ , 2, 3, 4 _, _, _ = v0, v1, v2
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 30 19:19:55 UTC 2024 - 19K bytes - Viewed (0) -
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) -
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) -
platforms/core-configuration/declarative-dsl-core/src/test/kotlin/org/gradle/internal/declarativedsl/analysis/SubtypingTest.kt
) ) @Test fun `type-checks assignment of subtype to superclass type`() { val result = schema.resolve( """ superClassProp = sub() """.trimIndent() ) assertEquals(1, result.assignments.size) } @Test fun `type-checks assignment of subtype to super interface type`() { val result = schema.resolve(
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue May 14 10:08:02 UTC 2024 - 4.1K bytes - Viewed (0) -
platforms/core-configuration/declarative-dsl-evaluator/src/main/kotlin/org/gradle/internal/declarativedsl/evaluator/conventions/ConventionsResolutionProcessor.kt
*/ internal object ConventionsResolutionProcessor { fun process(resolutionResult: ResolutionResult): Map<String, SoftwareTypeConventionResolutionResults> { val assignments = resolutionResult.assignments.groupBy { assignment -> getSoftwareType(assignment.lhs.receiverObject).function.simpleName } val additions = resolutionResult.additions.groupBy { addition ->
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri May 31 13:47:38 UTC 2024 - 4.4K bytes - Viewed (0) -
platforms/core-configuration/declarative-dsl-core/src/test/kotlin/org/gradle/internal/declarativedsl/analysis/transformation/OriginReplacementTest.kt
with(resolution("configuring { property = value() }")) { val assignment = assignments.single() val lhs = replaceInnerReceiverWithTopLevel(assignment.lhs.receiverObject) val rhs = replaceInnerReceiverWithTopLevel(assignment.rhs) assertEquals(topLevelReceiver, (lhs as ObjectOrigin.ImplicitThisReceiver).resolvedTo)
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon May 20 17:31:36 UTC 2024 - 5.8K bytes - Viewed (0) -
platforms/core-configuration/declarative-dsl-evaluator/src/main/kotlin/org/gradle/internal/declarativedsl/evaluator/EvaluationFailureMessageGenerator.kt
is ErrorReason.ReadOnlyPropertyAssignment -> "assignment to read-only property '${errorReason.property.name}" ErrorReason.UnitAssignment -> "assignment of a Unit value" ErrorReason.UnresolvedAssignmentLhs -> "unresolved assignment target" ErrorReason.UnresolvedAssignmentRhs -> "unresolved assigned value"
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu May 30 12:25:47 UTC 2024 - 8.3K bytes - Viewed (0) -
platforms/core-configuration/declarative-dsl-core/src/main/kotlin/org/gradle/internal/declarativedsl/analysis/context.kt
} interface AnalysisContextView : TypeRefContext { val schema: AnalysisSchema val imports: Map<String, FqName> val currentScopes: List<AnalysisScopeView> val assignments: List<AssignmentRecord> } class SchemaTypeRefContext(val schema: AnalysisSchema) : TypeRefContext { override fun resolveRef(dataTypeRef: DataTypeRef): DataType = when (dataTypeRef) {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu May 30 12:25:46 UTC 2024 - 5K bytes - Viewed (0) -
callbacks/update.go
set = append(set, clause.Assignment{Column: clause.Column{Name: field.DBName}, Value: now.UnixNano()}) } else if field.AutoUpdateTime == schema.UnixMillisecond { set = append(set, clause.Assignment{Column: clause.Column{Name: field.DBName}, Value: now.UnixMilli()}) } else if field.AutoUpdateTime == schema.UnixSecond {
Registered: Wed Jun 12 16:27:09 UTC 2024 - Last Modified: Mon Mar 18 05:44:55 UTC 2024 - 9.4K bytes - Viewed (0)