- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 20 for Reed (0.13 sec)
-
analysis/analysis-api-fe10/src/org/jetbrains/kotlin/analysis/api/descriptors/components/KtFe10SubtypingComponent.kt
// `NewKotlinTypeCheckerImpl` is inconsistent with its error type leniency: `isSubtypeOf` is lenient by default while `equalTypes` // isn't. Hence, even without a `LENIENT` policy, we need to wrap `typeChecker` to achieve consistent strictness. return IsErrorTypeEqualToAnythingTypeChecker(typeChecker, errorTypePolicy == KaSubtypingErrorTypePolicy.LENIENT) }
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/KtFirPsiTypeProvider.kt
val javaType = JavaTypeImpl.create(psiType, javaElementSourceFactory.createTypeSource(psiType)) val javaTypeRef = buildJavaTypeRef { // Annotations are unused during `resolveIfJavaType`, so there is no need to provide something annotationBuilder = { emptyList() } type = javaType } val javaTypeParameterStack = MutableJavaTypeParameterStack()
Registered: Wed Jun 12 09:53:16 UTC 2024 - Last Modified: Wed May 29 20:26:34 UTC 2024 - 18.4K bytes - Viewed (0) -
analysis/analysis-api-fir/src/org/jetbrains/kotlin/analysis/api/fir/references/FirReferenceResolveHelper.kt
): Collection<KaSymbol> { if (expression != adjustedResolutionExpression) { // Type alias detection. // // If we adjusted resolution to get a constructor instead of a class, we need to undo that // if the class is defined as a type alias. We can detect that situation when the constructed type // is different from the return type of the constructor. //
Registered: Wed Jun 12 09:53:16 UTC 2024 - Last Modified: Mon Jun 10 20:18:28 UTC 2024 - 37K bytes - Viewed (0) -
analysis/analysis-api-fir/src/org/jetbrains/kotlin/analysis/api/fir/components/KaFirResolver.kt
// If a function call is resolved to an implicit invoke call, the FirImplicitInvokeCall will have the `invoke()` function as the // callee and the variable as the explicit receiver. To correctly get all candidates, we need to get the original function // call's explicit receiver (if there is any) and callee (i.e., the variable). val unwrappedExplicitReceiver = explicitReceiver?.unwrapSmartcastExpression()
Registered: Wed Jun 12 09:53:16 UTC 2024 - Last Modified: Tue Jun 11 15:45:42 UTC 2024 - 73K bytes - Viewed (0) -
analysis/analysis-api-fir/src/org/jetbrains/kotlin/analysis/api/fir/components/KtFirReferenceShortener.kt
*/ private val FirResolvedTypeRef.correspondingTypePsi: KtUserType? get() { val sourcePsi = when { // array type for vararg parameters is not present in the code, so no need to handle it delegatedTypeRef?.source?.kind == KtFakeSourceElementKind.ArrayTypeFromVarargParameter -> null // but the array's underlying type is present with a fake source, and needs to be handled
Registered: Wed Jun 12 09:53:16 UTC 2024 - Last Modified: Fri Jun 07 16:54:07 UTC 2024 - 69.6K bytes - Viewed (0) -
analysis/analysis-api-fir/analysis-api-fir-generator/build.gradle.kts
implementation(project(":analysis:analysis-api")) implementation(commonDependency("org.jetbrains.kotlin:kotlin-reflect")) { isTransitive = false } /* We do not need guava in the generator, but because of a bug in the IJ project importing, we need to have a dependency on intellijCore the same as it is in `:fir:tree:tree-generator` module to the project be imported correctly */ compileOnly(intellijCore())
Registered: Wed Jun 12 09:53:16 UTC 2024 - Last Modified: Wed Oct 18 18:42:40 UTC 2023 - 1K bytes - Viewed (0) -
analysis/analysis-api-fir/src/org/jetbrains/kotlin/analysis/api/fir/utils/ValidityAwareCachedValue.kt
override fun getValue(thisRef: KaLifetimeOwner, property: KProperty<*>): T { return thisRef.withValidityAssertion { lazyValue.value } } } @Suppress("UnusedReceiverParameter") // we need to have the KtLifetimeOwner as receiver to make sure it's called only for KtLifetimeOwner internal fun <T> KaLifetimeOwner.cached(init: () -> T): ValidityAwareCachedValue<T> {
Registered: Wed Jun 12 09:53:16 UTC 2024 - Last Modified: Wed May 22 06:28:34 UTC 2024 - 1.1K bytes - Viewed (0) -
ReadMe.md
from environmental variables - disable Gradle toolchain auto-detection by passing `-Porg.gradle.java.installations.auto-detect=false` option (or put it into `$GRADLE_USER_HOME/gradle.properties`). On Windows you might need to add long paths setting to the repo: git config core.longpaths true ## Building The project is built with Gradle. Run Gradle to build the project and to run the tests
Registered: Wed Jun 12 09:53:16 UTC 2024 - Last Modified: Thu Apr 11 14:28:46 UTC 2024 - 8.7K bytes - Viewed (0) -
analysis/analysis-api-fir/src/org/jetbrains/kotlin/analysis/api/fir/components/KtFirTypeProvider.kt
} private fun ConeKotlinType.getDirectSuperTypes(shouldApproximate: Boolean): Sequence<ConeKotlinType> { return when (this) { // We also need to collect those on `upperBound` due to nullability. is ConeFlexibleType -> lowerBound.getDirectSuperTypes(shouldApproximate) + upperBound.getDirectSuperTypes(shouldApproximate)
Registered: Wed Jun 12 09:53:16 UTC 2024 - Last Modified: Fri Jun 07 10:25:23 UTC 2024 - 16.4K bytes - Viewed (0) -
ChangeLog.md
- [`KT-62139`](https://youtrack.jetbrains.com/issue/KT-62139) Analysis API: KtFe10AnalysisSession.createContextDependentCopy does not need validity check - [`KT-62090`](https://youtrack.jetbrains.com/issue/KT-62090) Analysis API: introduce an API to get a substitution formed by class inheritance
Registered: Wed Jun 12 09:53:16 UTC 2024 - Last Modified: Mon May 27 17:14:23 UTC 2024 - 292.1K bytes - Viewed (0)