- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 63 for type$val (0.16 sec)
-
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) -
analysis/analysis-api-fe10/src/org/jetbrains/kotlin/analysis/api/descriptors/components/KtFe10JvmTypeMapper.kt
get() = analysisSession.token private val typeMapper by lazy { KaFe10JvmTypeMapperContext(analysisContext.resolveSession) } override fun mapTypeToJvmType(type: KaType, mode: TypeMappingMode): Type { val kotlinType = (type as KaFe10Type).fe10Type return typeMapper.mapType(kotlinType, mode) } override fun isPrimitiveBacked(type: KaType): Boolean { val kotlinType = (type as KaFe10Type).fe10Type
Registered: Wed Jun 12 09:53:16 UTC 2024 - Last Modified: Wed May 22 06:28:35 UTC 2024 - 1.5K bytes - Viewed (0) -
platforms/core-configuration/core-serialization-codecs/src/main/kotlin/org/gradle/internal/serialize/codecs/core/OrdinalNodeCodec.kt
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Jun 07 23:09:56 UTC 2024 - 1.5K bytes - Viewed (0) -
analysis/analysis-api-impl-base/tests/org/jetbrains/kotlin/analysis/api/impl/base/test/cases/types/AbstractAnalysisApiSubstitutorsTest.kt
val symbol = declaration.getSymbol() as KaCallableSymbol val type = symbol.returnType val substituted = substitutor.substitute(type) val substitutedOrNull = substitutor.substituteOrNull(type) prettyPrint { appendLine("PSI type: ${declaration.typeReference?.text}")
Registered: Wed Jun 12 09:53:16 UTC 2024 - Last Modified: Wed May 29 17:43:55 UTC 2024 - 2.2K bytes - Viewed (0) -
analysis/analysis-api-fir/analysis-api-fir-generator/src/org/jetbrains/kotlin/analysis/api/fir/generator/HLDiagnosticConverter.kt
) } if (kClass.isSubclassOf(Map::class)) { val keyType = type.arguments.getOrNull(0)?.type val valueType = type.arguments.getOrNull(1)?.type val keyConversion = keyType?.let { createConversion(it) } ?: HLIdParameterConversion val valueConversion = valueType?.let { createConversion(it) } ?: HLIdParameterConversion
Registered: Wed Jun 12 09:53:16 UTC 2024 - Last Modified: Wed May 22 06:28:34 UTC 2024 - 16.5K bytes - Viewed (0) -
src/cmd/compile/internal/walk/temp.go
// temporary variable to val, and then returns the expression &tmp. func initStackTemp(init *ir.Nodes, tmp *ir.Name, val ir.Node) *ir.AddrExpr { if val != nil && !types.Identical(tmp.Type(), val.Type()) { base.Fatalf("bad initial value for %L: %L", tmp, val) } appendWalkStmt(init, ir.NewAssignStmt(base.Pos, tmp, val)) return typecheck.Expr(typecheck.NodAddr(tmp)).(*ir.AddrExpr) }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Apr 09 16:41:23 UTC 2024 - 1.5K bytes - Viewed (0) -
analysis/analysis-api-standalone/tests/org/jetbrains/kotlin/analysis/api/standalone/fir/test/cases/session/builder/AbstractStandaloneSessionBuilderAgainstStdlibTest.kt
val ktCallExpression = ktFile.findDescendantOfType<KtCallExpression>()!! ktCallExpression.assertIsCallOf(CallableId(StandardNames.COLLECTIONS_PACKAGE_FQ_NAME, Name.identifier("listOf"))) // builtin type val typeReference = ktFile.findDescendantOfType<KtNamedFunction>()!!.typeReference!! typeReference.assertIsReferenceTo(StandardClassIds.Float) }
Registered: Wed Jun 12 09:53:16 UTC 2024 - Last Modified: Tue Jun 04 08:26:19 UTC 2024 - 3.3K bytes - Viewed (0) -
platforms/core-configuration/kotlin-dsl-provider-plugins/src/main/kotlin/org/gradle/kotlin/dsl/provider/plugins/DefaultProjectSchemaProvider.kt
accessibleConventionsSchema(plugins).forEach { (name, type) -> conventions.add(ProjectSchemaEntry(targetType, name, type)) val plugin = DeprecationLogger.whileDisabled(Factory { plugins[name] })!! collectSchemaOf(plugin, type) } accessibleContainerSchema(target.tasks.collectionSchema).forEach { schema ->
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Apr 01 13:09:46 UTC 2024 - 9.9K bytes - Viewed (0) -
.teamcity/src/main/kotlin/configurations/PerformanceTest.kt
this.name = "$description${if (performanceTestBuildSpec.withoutDependencies) " (without dependencies)" else ""}" val type = performanceTestBuildSpec.type val os = performanceTestBuildSpec.os val arch = performanceTestBuildSpec.arch val buildTypeThis = this
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Jun 03 03:39:03 UTC 2024 - 5.4K bytes - Viewed (0) -
platforms/core-configuration/declarative-dsl-core/src/main/kotlin/org/gradle/internal/declarativedsl/schemaBuilder/FunctionExtractor.kt
): FunctionSemantics { val lastParam = function.parameters[function.parameters.lastIndex] val configuredType = configureLambdas.getTypeConfiguredByLambda(function.parameters.last().type) val blockRequirement = when { configuredType == null -> FunctionSemanticsInternal.DefaultConfigureBlockRequirement.DefaultNotAllowed
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu May 16 11:58:18 UTC 2024 - 13.7K bytes - Viewed (0)