Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for approximateTypeToPublicDenotable (0.55 sec)

  1. analysis/analysis-api-fir/src/org/jetbrains/kotlin/analysis/api/fir/components/KtFirTypeProvider.kt

            require(type is KaFirType)
            val coneType = type.coneType
            val approximatedConeType = PublicTypeApproximator.approximateTypeToPublicDenotable(
                coneType,
                rootModuleSession,
                approximateLocalTypes = approximateLocalTypes,
            )
    
            return approximatedConeType?.asKtType()
        }
    
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Fri Jun 07 10:25:23 UTC 2024
    - 16.4K bytes
    - Viewed (0)
  2. analysis/analysis-api-fir/src/org/jetbrains/kotlin/analysis/api/fir/components/KtFirPsiTypeProvider.kt

            // TODO: can we approximate local types in type arguments *selectively* ?
            currentType = PublicTypeApproximator.approximateTypeToPublicDenotable(currentType, session, needLocalTypeApproximation)
                ?: currentType
    
        } while (oldType !== currentType)
        if (typeArguments.isNotEmpty()) {
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Wed May 29 20:26:34 UTC 2024
    - 18.4K bytes
    - Viewed (0)
Back to top