- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 68 for asSubtype (0.14 sec)
-
platforms/core-configuration/declarative-dsl-core/src/test/kotlin/org/gradle/internal/declarativedsl/analysis/SubtypingTest.kt
val schema = schemaFromTypes( TopLevelForSubtyping::class, listOf( TopLevelForSubtyping::class, SuperClass::class, SuperInterface::class, Subtype::class, NotASubtype::class ) ) @Test fun `type-checks assignment of subtype to superclass type`() { val result = schema.resolve( """ superClassProp = sub() """.trimIndent() )
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/KtFe10SubtypingComponent.kt
} override fun isSubTypeOf(subType: KaType, superType: KaType, errorTypePolicy: KaSubtypingErrorTypePolicy): Boolean { require(subType is KaFe10Type) require(superType is KaFe10Type) return getTypeCheckerFor(errorTypePolicy).isSubtypeOf(subType.fe10Type, superType.fe10Type) }
Registered: Wed Jun 12 09:53:16 UTC 2024 - Last Modified: Wed May 22 06:28:35 UTC 2024 - 2.4K bytes - Viewed (0) -
analysis/analysis-api-fir/src/org/jetbrains/kotlin/analysis/api/fir/components/KtFirSubtypingComponent.kt
) } override fun isSubTypeOf(subType: KaType, superType: KaType, errorTypePolicy: KaSubtypingErrorTypePolicy): Boolean { superType.assertIsValidAndAccessible() check(subType is KaFirType) check(superType is KaFirType) return AbstractTypeChecker.isSubtypeOf( createTypeCheckerContext(errorTypePolicy), subType.coneType, superType.coneType, ) }
Registered: Wed Jun 12 09:53:16 UTC 2024 - Last Modified: Wed May 22 06:28:34 UTC 2024 - 1.8K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/translate/mlir_roundtrip_flags.cc
return errors::InvalidArgument("Invalid type '", type, "'"); } else if (parts.size() == 3) { // First part is the type, second is the subtype ArrayInfo::SubTypeInfo subtype; TF_RETURN_IF_ERROR(HandleSubtype(parts[1], &subtype)); info.subtypes.push_back(std::move(subtype)); } if (!DataType_Parse(parts[0], &info.imported_dtype)) { return errors::FailedPrecondition(
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Wed May 01 11:17:36 UTC 2024 - 10.4K bytes - Viewed (0) -
analysis/analysis-api-impl-base/tests/org/jetbrains/kotlin/analysis/api/impl/base/test/cases/components/subtyping/AbstractSemanticSubtypingTest.kt
" type policy.", ) val IS_SUBTYPE by stringDirective( description = "Whether `type1` is a subtype of `type2` (`true` or `false`).", ) val IS_SUBTYPE_LENIENT by stringDirective( description = "Whether `type1` is a subtype of `type2` (`true` or `false`) when using the `${KaSubtypingErrorTypePolicy.LENIENT}`" + " error type policy.", ) }
Registered: Wed Jun 12 09:53:16 UTC 2024 - Last Modified: Wed May 22 06:28:34 UTC 2024 - 5.9K bytes - Viewed (0) -
platforms/core-configuration/configuration-cache/src/integTest/groovy/org/gradle/internal/cc/impl/ConfigurationCacheIncompatibleTasksIntegrationTest.groovy
serializationProblem("Task `:notDeclared` of type `Broken`: cannot serialize object of type 'org.gradle.api.internal.artifacts.configurations.DefaultConfigurationContainer', a subtype of 'org.gradle.api.artifacts.ConfigurationContainer', as these are not supported with the...
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Sat Jun 08 11:29:25 UTC 2024 - 10.3K bytes - Viewed (0) -
analysis/analysis-api-fir/src/org/jetbrains/kotlin/analysis/api/fir/symbols/KtFirEnumEntryInitializerSymbol.kt
* subtyping requirements, as [KaEnumEntryInitializerSymbol] is not a subtype of * [org.jetbrains.kotlin.analysis.api.symbols.KaAnonymousObjectSymbol]. (It cannot be a subtype in the general Analysis API because enum * entry initializers are classes in FE10.) */
Registered: Wed Jun 12 09:53:16 UTC 2024 - Last Modified: Wed May 22 06:28:34 UTC 2024 - 2.1K bytes - Viewed (0) -
platforms/extensibility/plugin-development/src/main/java/org/gradle/plugin/devel/tasks/internal/ValidationProblemSerialization.java
out.name("subtype").value("lineInFile"); LineInFileLocation l = (LineInFileLocation) value; out.name("line").value(l.getLine()); out.name("column").value(l.getColumn()); out.name("length").value(l.getLength()); } else if (value instanceof OffsetInFileLocation) { out.name("subtype").value("offsetInFile");
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue May 28 09:03:53 UTC 2024 - 27.7K bytes - Viewed (0) -
platforms/core-configuration/configuration-cache/src/integTest/groovy/org/gradle/internal/cc/impl/ConfigurationCacheBuildSrcProblemReportingIntegrationTest.groovy
withProblem("Task `:broken` of type `org.gradle.api.DefaultTask`: cannot serialize object of type 'org.gradle.api.internal.project.DefaultProject', a subtype of 'org.gradle.api.Project', as these are not supported with the configuration cache.") problemsWithStackTraceCount = 1 } failure.assertHasFailures(1) when:
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Sat Jun 08 11:29:25 UTC 2024 - 6.4K bytes - Viewed (0) -
platforms/core-configuration/configuration-cache/src/integTest/groovy/org/gradle/internal/cc/impl/ConfigurationCacheProblemReportingIntegrationTest.groovy
withProblem("Task `:moreProblems` of type `BrokenTaskType`: cannot serialize object of type 'org.gradle.api.internal.project.DefaultProject', a subtype of 'org.gradle.api.Project', as these are not supported with the configuration cache.")
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Sat Jun 08 11:29:25 UTC 2024 - 56.7K bytes - Viewed (0)