Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 114 for Assignment (0.14 sec)

  1. analysis/analysis-api-fir/tests-gen/org/jetbrains/kotlin/analysis/api/fir/test/cases/generated/cases/components/readWriteAccess/FirIdeDependentAnalysisSourceModuleReadWriteAccessTestGenerated.java

      }
    
      @Test
      @TestMetadata("assignment.kt")
      public void testAssignment() {
        runTest("analysis/analysis-api/testData/components/expressionInfoProvider/readWriteAccess/assignment.kt");
      }
    
      @Test
      @TestMetadata("assignmentPlusEq.kt")
      public void testAssignmentPlusEq() {
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Fri Mar 08 22:12:25 UTC 2024
    - 3.5K bytes
    - Viewed (0)
  2. analysis/analysis-api/src/org/jetbrains/kotlin/analysis/api/resolution/KaSimpleVariableAccess.kt

        public object Read : KaSimpleVariableAccess()
    
        public class Write(
            /**
             * [KtExpression] that represents the new value that should be assigned to this variable. Or null if the assignment is incomplete
             * and misses the new value.
             */
            public val value: KtExpression?,
        ) : KaSimpleVariableAccess()
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Wed Jun 05 16:16:39 UTC 2024
    - 705 bytes
    - Viewed (0)
  3. analysis/analysis-api-standalone/tests-gen/org/jetbrains/kotlin/analysis/api/standalone/fir/test/cases/generated/cases/components/readWriteAccess/FirStandaloneNormalAnalysisSourceModuleReadWriteAccessTestGenerated.java

      }
    
      @Test
      @TestMetadata("assignment.kt")
      public void testAssignment() {
        runTest("analysis/analysis-api/testData/components/expressionInfoProvider/readWriteAccess/assignment.kt");
      }
    
      @Test
      @TestMetadata("assignmentPlusEq.kt")
      public void testAssignmentPlusEq() {
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Fri Mar 08 22:12:25 UTC 2024
    - 3.6K bytes
    - Viewed (0)
  4. platforms/core-runtime/base-services/src/main/java/org/gradle/api/SupportsKotlinAssignmentOverloading.java

    import java.lang.annotation.ElementType;
    import java.lang.annotation.Retention;
    import java.lang.annotation.RetentionPolicy;
    import java.lang.annotation.Target;
    
    /**
     * Marks interface that works with overloaded Kotlin assignment.
     *
     * @since 8.1
     */
    @Documented
    @Retention(RetentionPolicy.RUNTIME)
    @Target(ElementType.TYPE)
    public @interface SupportsKotlinAssignmentOverloading {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 08:48:02 UTC 2023
    - 1K bytes
    - Viewed (0)
  5. 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)
  6. 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)
  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. 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)
  9. 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)
  10. platforms/core-configuration/declarative-dsl-core/src/main/kotlin/org/gradle/internal/declarativedsl/objectGraph/AssignmentResolver.kt

                            } else {
                                // We should never come across a situation where an assignment already exists that is in a higher generation,
                                // but if we do, just pull the emergency stop handle as this is indicative of a bug rather than a user error.
                                error("Unexpected assignment in higher generation")
                            }
                        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu May 30 12:25:46 UTC 2024
    - 9.6K bytes
    - Viewed (0)
Back to top