Search Options

Results per page
Sort
Preferred Languages
Advance

Results 81 - 90 of 512 for Assignment (0.4 sec)

  1. src/internal/types/testdata/fixedbugs/issue60688.go

    // (they are element types of the func type and therefore must
    // be identical to match).
    // The result is an error from type inference, rather than an
    // error from an assignment mismatch.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Dec 12 18:44:59 UTC 2023
    - 607 bytes
    - Viewed (0)
  2. test/fixedbugs/issue54638.go

    // compile
    
    // Copyright 2022 The Go Authors. All rights reserved.
    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    // Issue 54638: composite literal assignment with
    // alignment > PtrSize causes ICE.
    
    package p
    
    import "sync/atomic"
    
    type S struct{ l any }
    
    type T struct {
    	H any
    	a [14]int64
    	f func()
    	x atomic.Int64
    }
    
    //go:noinline
    func (T) M(any) {}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Aug 26 15:24:31 UTC 2022
    - 601 bytes
    - Viewed (0)
  3. platforms/core-configuration/model-core/src/main/java/org/gradle/api/internal/provider/support/LazyGroovySupport.java

    import org.gradle.api.file.ConfigurableFileCollection;
    import org.gradle.api.provider.Property;
    import org.gradle.internal.instantiation.generator.AsmBackedClassGenerator;
    
    /**
     * An interface used to support lazy assignment for types like {@link Property} and {@link ConfigurableFileCollection} in Groovy DSL.
     * Call to this interface is generated via {@link AsmBackedClassGenerator}.
     */
    public interface LazyGroovySupport {
    
        /**
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 09:51:04 UTC 2023
    - 1.2K bytes
    - Viewed (0)
  4. analysis/analysis-api-fe10/src/org/jetbrains/kotlin/analysis/api/descriptors/KtFe10CompilerPluginsProvider.kt

        override fun isPluginOfTypeRegistered(module: KtSourceModule, pluginType: CompilerPluginType): Boolean {
            val extension = when (pluginType) {
                CompilerPluginType.ASSIGNMENT -> AssignResolutionAltererExtension
                else -> return false
            }
            return extension.getInstances(module.project).isNotEmpty()
        }
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Thu Apr 27 14:05:02 UTC 2023
    - 1.3K bytes
    - Viewed (0)
  5. platforms/core-configuration/kotlin-dsl/src/main/kotlin/org/gradle/kotlin/dsl/assignment/internal/KotlinDslAssignment.kt

     * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
     * See the License for the specific language governing permissions and
     * limitations under the License.
     */
    
    package org.gradle.kotlin.dsl.assignment.internal
    
    import org.gradle.internal.deprecation.DeprecationLogger
    
    
    /**
     * This class is used in `kotlin-dsl` plugin from 4.0.2 to 4.1.0. To be removed in Gradle 9.0.
     */
    @Suppress("unused")
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Aug 02 08:06:49 UTC 2023
    - 1.3K bytes
    - Viewed (0)
  6. platforms/core-configuration/model-core/src/test/groovy/org/gradle/model/internal/core/UnmanagedModelProjectionTest.groovy

            projection.getTypeDescriptions(Stub(MutableModelNode)) as List == [description]
    
            where:
            type     | description
            String   | "java.lang.String (or assignment compatible type thereof)"
            Object   | "java.lang.Object"
            Runnable | "java.lang.Runnable"
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 09:51:04 UTC 2023
    - 1.1K bytes
    - Viewed (0)
  7. src/internal/types/testdata/check/decls1.go

    )
    
    // Various more complex expressions
    var (
    	u1 = x /* ERROR "not an interface" */ .(int)
    	u2 = iface.([]int)
    	u3 = iface.(a /* ERROR "not a type" */ )
    	u4, ok = iface.(int)
    	u5, ok2, ok3 = iface /* ERROR "assignment mismatch" */ .(int)
    )
    
    // Constant expression initializations
    var (
    	v1 = 1 /* ERROR "mismatched types untyped int and untyped string" */ + "foo"
    	v2 = c + 255
    	v3 = c + 256 /* ERROR "overflows" */
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Feb 05 18:13:11 UTC 2024
    - 3.8K bytes
    - Viewed (0)
  8. src/cmd/compile/internal/types2/builtins.go

    				return false
    			}
    			key = map_.key
    			return true
    		}) {
    			return
    		}
    
    		*x = *args[1] // key
    		check.assignment(x, key, "argument to delete")
    		if x.mode == invalid {
    			return
    		}
    
    		x.mode = novalue
    		if check.recordTypes() {
    			check.recordBuiltinType(call.Fun, makeSig(nil, map_, key))
    		}
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 19:19:55 UTC 2024
    - 27.1K bytes
    - Viewed (0)
  9. platforms/core-configuration/declarative-dsl-core/src/main/kotlin/org/gradle/internal/declarativedsl/dom/fromLanguageTree/LanguageTreeToDom.kt

    import org.gradle.internal.declarativedsl.dom.data.NodeData
    import org.gradle.internal.declarativedsl.dom.data.ValueData
    import org.gradle.internal.declarativedsl.language.Assignment
    import org.gradle.internal.declarativedsl.language.Block
    import org.gradle.internal.declarativedsl.language.BlockElement
    import org.gradle.internal.declarativedsl.language.ErroneousStatement
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri May 31 13:47:09 UTC 2024
    - 11.2K bytes
    - Viewed (0)
  10. platforms/core-configuration/declarative-dsl-core/src/test/kotlin/org/gradle/internal/declarativedsl/demo/demoSimple/AssignmentResolverTest.kt

                assertIs<ObjectOrigin.ConstantOrigin>(valueOrigin)
                assertEquals("shared", valueOrigin.literal.value)
            }
        }
    
        @Test
        fun `reports assignment pointing to unassigned property`() {
            assignmentTrace(
                schema.resolve(
                    """
                    val c1 = c(1) { }
                    val c2 = c(2) { }
                    c2.d = c1.d
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Feb 02 10:53:44 UTC 2024
    - 2.9K bytes
    - Viewed (0)
Back to top